Skip to content

Instantly share code, notes, and snippets.

@edsu
Last active October 14, 2017 22:23
Show Gist options
  • Save edsu/f28e4938e0f4528c45f1068a92e11d3e to your computer and use it in GitHub Desktop.
Save edsu/f28e4938e0f4528c45f1068a92e11d3e to your computer and use it in GitHub Desktop.
/etc/nginx/sites-enabled/default
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