快速:未知域本地主机?

问题描述

我使用 localhost 网站配置了 IIS 10。

localhost 有一个反向代理来查询托管在 Fastly 上的服务器。

这是我的 IIS 10 规则

<rule name="Remote website Reverse Proxy" stopProcessing="true">
    <match url="remotewebsite/(.*)" />
    <action type="Rewrite" url="https://remotedomain.com/{R:1}" logRewrittenUrl="true" />
</rule> 

我想通过查询http://localhost/remotewebsite/something

来查询服务器https://remotedomain.com/something

我配置了反向代理,但出现错误:

快速错误:未知域:本地主机。请检查此域是否已添加到服务中。详细信息:cache-cdg20776-CDG

我不拥有远程域,我无法对其进行任何更改。如果我将规则操作类型更改为 重定向,它会起作用。但我需要它重写

有什么我可以添加到我的反向代理中以使其正常工作的吗?

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...