Last active
February 21, 2017 17:46
-
-
Save sebfoucault/fa01812008b92218e768b59a95bcbfdf to your computer and use it in GitHub Desktop.
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
# | |
# Configuration for reverse-proxification | |
# | |
location ~ /micropa-web/(?<tenant>.*)/odata/(?<rest>.*) { | |
proxy_pass http://127.0.0.1:8080/micropa-web/odata/$rest/; | |
proxy_set_header Host $host; | |
proxy_set_header X-TENANT-ID $tenant; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment