Skip to content

Instantly share code, notes, and snippets.

@dustinrue
Created January 28, 2018 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinrue/b803838d1928a85dfa6c867b7ffef782 to your computer and use it in GitHub Desktop.
Save dustinrue/b803838d1928a85dfa6c867b7ffef782 to your computer and use it in GitHub Desktop.
upstream ups {
server 192.168.86.251;
}
server {
location /ups {
proxy_pass http://ups/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment