Created
September 1, 2015 19:04
-
-
Save abutcher/485f25c5e95102f9d508 to your computer and use it in GitHub Desktop.
ose nginx proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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