Skip to content

Instantly share code, notes, and snippets.

@markushaslinger
Created December 12, 2015 19:46
Show Gist options
  • Save markushaslinger/b57b6be2edf4b642c728 to your computer and use it in GitHub Desktop.
Save markushaslinger/b57b6be2edf4b642c728 to your computer and use it in GitHub Desktop.
location / {
proxy_pass http://localhost:5000;
proxy_read_timeout 120;
proxy_buffering off;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment