Last active
October 14, 2017 22:23
-
-
Save edsu/f28e4938e0f4528c45f1068a92e11d3e to your computer and use it in GitHub Desktop.
/etc/nginx/sites-enabled/default
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 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
location / { | |
proxy_pass http://localhost:5000; | |
} | |
} | |
server { | |
listen 8080 default_server; | |
listen [::]:8080 default_server ipv6only=on; | |
location / { | |
proxy_pass http://localhost:8082; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment