Skip to content

Instantly share code, notes, and snippets.

@krystofbe
Last active July 24, 2019 20:58
Show Gist options
  • Save krystofbe/6b617a412d402f64d02bace12fb2228e to your computer and use it in GitHub Desktop.
Save krystofbe/6b617a412d402f64d02bace12fb2228e to your computer and use it in GitHub Desktop.
upstream my-app.my-domain.com {
server localhost:2369; # change the port to the port of your web app running on localhost
}
server {
listen 80;
server_name my-app.my-domain.com;
location / {
proxy_pass http://my-app.my-domain.com;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment