web.config 848 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="myProxyServer1">
  7. <match url="^(.*)" />
  8. <conditions>
  9. <add input="{REQUEST_URI}" pattern="api/(.*)" />
  10. </conditions>
  11. <action type="Rewrite" url="http://183.255.30.6:8087/{C:1}" />
  12. </rule>
  13. <rule name="myProxyServer2">
  14. <match url="^(.*)" />
  15. <conditions>
  16. <add input="{REQUEST_URI}" pattern="service" />
  17. </conditions>
  18. <action type="Rewrite" url="http://183.255.30.6:802/{R:1}" />
  19. </rule>
  20. </rules>
  21. </rewrite>
  22. </system.webServer>
  23. </configuration>