Fix WebSocket support
This commit is contained in:
parent
0db32bf185
commit
99942dadfb
|
@ -13,9 +13,13 @@ server {
|
|||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto "https";
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
# WebSocket support
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
||||
# Options required by Nextcloud
|
||||
proxy_read_timeout 86400s;
|
||||
client_body_buffer_size 512k;
|
||||
client_max_body_size 0;
|
||||
|
|
Loading…
Reference in a new issue