Created
July 4, 2016 20:09
-
-
Save rshsmi/a66525a4bf32c8ba3407b6394086e305 to your computer and use it in GitHub Desktop.
Nginx Reverse Proxy - Multiple Applications on One Domain
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
server { | |
listen ...; | |
... | |
location / { | |
proxy_pass http://127.0.0.1:8080; | |
} | |
location /blog { | |
proxy_pass http://127.0.0.1:8181; | |
} | |
location /mail { | |
proxy_pass http://127.0.0.1:8282; | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment