播放框架的IIS反向代理

播放框架的IIS反向代理,iis,playframework,proxy,Iis,Playframework,Proxy,我想在IIS服务器上设置一个play应用程序。我想设置一个反向代理。在Apache中,我会这样做: ProxyPass /myapp localhost:9000/myapp ProxyPassReverse /myapp localhost:9000/myapp 我怎样才能完成这样的事情?有人有什么想法吗? <rule name="IIS reverse proxy for play framework" enabled="true" stopProcessing="true">

我想在IIS服务器上设置一个play应用程序。我想设置一个反向代理。在Apache中,我会这样做:

ProxyPass /myapp localhost:9000/myapp
ProxyPassReverse /myapp localhost:9000/myapp

我怎样才能完成这样的事情?

有人有什么想法吗?
<rule name="IIS reverse proxy for play framework" enabled="true" stopProcessing="true">
    <match url="^(appName.*)" />
    <action type="Rewrite" url="http://localhost:9000/{R:1}" />
    <conditions>
        <add input="{HTTP_HOST}" pattern=".+" />
    </conditions>
</rule>