Reverse proxy websocket IIS

风格不统一 提交于 2019-12-22 04:29:16

问题


I would like to use IIS to proxy websocket on windows. So, I set up IIS 8 in Winserver 2012, for reverse proxying a websocket server app. But I don't know how to configure IIS. There is just redirect rules for HTTP and HTTPS, no WS. I would like to have the same thing as apache :

<Location /ws>
ProxyPass ws://127.0.0.1:8080 
ProxyPassReverse ws://127.0.0.1:8080
</Location>

The request ws://127.0.0.1:80/ws will be redirect to ws://127.0.0.1:8080/ws.

Thank you.

来源:https://stackoverflow.com/questions/21838117/reverse-proxy-websocket-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!