IIS Express 可以支持反向代理吗?
我想在 IIS Express 中设置反向代理,但似乎不支持应用程序请求路由(尽管我找不到任何正式记录这一点的内容)。
我的目标是让网络服务器将传入请求代理到 http://web.server/api/example 到第二个服务器(例如 http://some.api.server/example),其中 web.服务器在 IIS Express 上运行。
如何实现这一目标?
I'd like to set up a reverse proxy in IIS Express but it doesn't appear that Application Request Routing is supported (though I can't find anything which officially documents this).
My goal is to get a web server to proxy an incoming request to http://web.server/api/example to a second server (e.g. http://some.api.server/example) where web.server is running on IIS Express.
How might this be achieved?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不...您需要 ARR(应用程序请求路由)来执行此操作,并且仅当您安装了 IIS7/7.5 时才能安装 arr。
No...you need ARR (application request routing) for doing this and arr can be installed only if you have IIS7/7.5 is installed.
即使我也尝试过同样的事情。在网上找了整整两天,终于找到了这个
http://blogs.msdn.com/b/asiatech/archive/2011/08/25/return-404-4-not-found-when-url-rewrite.aspx (Wayback link)
向下滚动到博客末尾,它告诉您无法实现反向IIS Express 上的代理
Even I tried the same thing. After searching on the net for 2 whole days, I finally found this
http://blogs.msdn.com/b/asiatech/archive/2011/08/25/return-404-4-not-found-when-url-rewrite.aspx (Wayback link)
Scroll down to the end of the blog and it tells you that you cannot implement reverse proxy on IIS Express