Skip to content

Instantly share code, notes, and snippets.

@dustinrue
Created January 28, 2018 18:42
Show Gist options
  • Save dustinrue/b803838d1928a85dfa6c867b7ffef782 to your computer and use it in GitHub Desktop.
Save dustinrue/b803838d1928a85dfa6c867b7ffef782 to your computer and use it in GitHub Desktop.

Revisions

  1. dustinrue created this gist Jan 28, 2018.
    13 changes: 13 additions & 0 deletions example upstream
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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;
    }
    }