Last active
August 29, 2015 14:17
-
-
Save karadaisy/451c59261e3a749b0536 to your computer and use it in GitHub Desktop.
Nginx configuration for Websockets
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
location /_updates { | |
proxy_pass http://localhost:8077; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_read_timeout 86400s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment