反向代理websocket IIS

use*_*318 8 iis proxy webserver reverse-proxy websocket

我想使用IIS在windows上代理websocket.因此,我在Winserver 2012中设置了IIS 8,用于反向代理websocket服务器应用程序.但我不知道如何配置IIS.只有HTTP和HTTPS的重定向规则,没有WS.我想和apache一样:

<Location /ws>
ProxyPass ws://127.0.0.1:8080 
ProxyPassReverse ws://127.0.0.1:8080
</Location>
Run Code Online (Sandbox Code Playgroud)

请求ws://127.0.0.1:80/ws将重定向到ws://127.0.0.1:8080/ws.

谢谢.