Skip to content

Instantly share code, notes, and snippets.

@gleox
Created August 27, 2018 07:17
Show Gist options
  • Save gleox/083d58ae43ae93a9025db6a81351b2fd to your computer and use it in GitHub Desktop.
Save gleox/083d58ae43ae93a9025db6a81351b2fd to your computer and use it in GitHub Desktop.
Web.config for reverse proxy in an acme application
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Reverse Proxy to acme" stopProcessing="true">
<match url="(.*)"/>
<action type="Rewrite" url="http://localhost:8000/{R:1}"/>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment