Last active
September 2, 2017 15:32
-
-
Save JeremyLikness/77dcfd9703e8121d677487841ddfdf6e to your computer and use it in GitHub Desktop.
Proxy definitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json.schemastore.org/proxies", | |
| "proxies": { | |
| "Domain Redirect": { | |
| "matchCondition": { | |
| "route": "/{*shortUrl}" | |
| }, | |
| "backendUri": "http://%WEBSITE_HOSTNAME%/api/UrlRedirect/{shortUrl}" | |
| }, | |
| "Api": { | |
| "matchCondition": { | |
| "route": "/api/{*path}" | |
| }, | |
| "backendUri": "http://%WEBSITE_HOSTNAME%.azurewebsites.net/api/{path}" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment