Skip to content

Instantly share code, notes, and snippets.

@vigith
Last active August 29, 2015 14:05
Show Gist options
  • Save vigith/b246b7eb166ae36005c9 to your computer and use it in GitHub Desktop.
Save vigith/b246b7eb166ae36005c9 to your computer and use it in GitHub Desktop.
nginx conf
server {
listen 80 default_server;
server_name *.ops.sharethis.com;
location / {
proxy_pass http://127.0.0.1:4180;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 1;
proxy_send_timeout 30;
proxy_read_timeout 30;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment