Skip to content

Instantly share code, notes, and snippets.

@msfidelis
Created January 1, 2018 21:22
Show Gist options
  • Save msfidelis/5840cd2b6c4edd4ae77aa4788f6c58da to your computer and use it in GitHub Desktop.
Save msfidelis/5840cd2b6c4edd4ae77aa4788f6c58da to your computer and use it in GitHub Desktop.
server {
server_name app1.com.br;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:5000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment