Skip to content

Instantly share code, notes, and snippets.

@abutcher
Created September 1, 2015 19:04
Show Gist options
  • Select an option

  • Save abutcher/485f25c5e95102f9d508 to your computer and use it in GitHub Desktop.

Select an option

Save abutcher/485f25c5e95102f9d508 to your computer and use it in GitHub Desktop.
ose nginx proxy
server {
listen 80;
listen 443 ssl spdy;
server_name <SERVER NAME>;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_connect_timeout 2s;
proxy_buffering off;
ssl_certificate <CERT>;
ssl_certificate_key <KEY>;
location / {
proxy_pass https://<MASTER>:8443/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment