projects
/
arvados-formula.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs(examples): fix websocket nginx example stanza
[arvados-formula.git]
/
test
/
salt
/
pillar
/
examples
/
nginx_websocket_configuration.sls
diff --git
a/test/salt/pillar/examples/nginx_websocket_configuration.sls
b/test/salt/pillar/examples/nginx_websocket_configuration.sls
index bc198e16de73692a25b965a25fde14b9542b30a0..b6a217463e94382dabb5fdf676092a6285c7de98 100644
(file)
--- a/
test/salt/pillar/examples/nginx_websocket_configuration.sls
+++ b/
test/salt/pillar/examples/nginx_websocket_configuration.sls
@@
-38,12
+38,13
@@
nginx:
- index: index.html index.htm
- location /:
- proxy_pass: 'http://websocket_upstream'
- index: index.html index.htm
- location /:
- proxy_pass: 'http://websocket_upstream'
- - proxy_read_timeout:
9
0
+ - proxy_read_timeout:
60
0
- proxy_connect_timeout: 90
- proxy_redirect: 'off'
- proxy_connect_timeout: 90
- proxy_redirect: 'off'
- - proxy_set_header: X-Forwarded-Proto https
- - proxy_set_header: 'Host $http_host'
+ - proxy_set_header: 'Host $host'
- proxy_set_header: 'X-Real-IP $remote_addr'
- proxy_set_header: 'X-Real-IP $remote_addr'
+ - proxy_set_header: 'Upgrade $http_upgrade'
+ - proxy_set_header: 'Connection "upgrade"'
- proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
- proxy_buffering: 'off'
- client_body_buffer_size: 64M
- proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
- proxy_buffering: 'off'
- client_body_buffer_size: 64M