forked from bitlair/ansible
pad, last fix
This commit is contained in:
parent
1adae2f702
commit
fc443544d3
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,7 @@ etherpad_domain: pad.bitlair.nl
|
||||||
|
|
||||||
nginx_sites:
|
nginx_sites:
|
||||||
- server_name: "pad.bitlair.nl"
|
- server_name: "pad.bitlair.nl"
|
||||||
localproxy: "9001"
|
# localproxy: "9001"
|
||||||
pre_config:
|
pre_config:
|
||||||
- "# WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
|
- "# WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
|
||||||
- "map $http_upgrade $connection_upgrade {"
|
- "map $http_upgrade $connection_upgrade {"
|
||||||
|
@ -16,6 +16,9 @@ nginx_sites:
|
||||||
- "}"
|
- "}"
|
||||||
config:
|
config:
|
||||||
- "location / {"
|
- "location / {"
|
||||||
|
- " proxy_pass http://localhost:9001/;"
|
||||||
|
- " include proxy_params;"
|
||||||
|
- ""
|
||||||
- " # WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
|
- " # WebSocket proxying - from https://nginx.org/en/docs/http/websocket.html"
|
||||||
- " proxy_set_header Upgrade $http_upgrade;"
|
- " proxy_set_header Upgrade $http_upgrade;"
|
||||||
- " proxy_set_header Connection $connection_upgrade;"
|
- " proxy_set_header Connection $connection_upgrade;"
|
||||||
|
|
Loading…
Add table
Reference in a new issue