simple proxying for websockets

This commit is contained in:
Paul Joannon 2013-11-18 18:44:07 +01:00
parent 6814b3e19c
commit 2fa01e5a6c
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Simple proxying for websockets
# This file should be required within a `location` scope
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";