mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Set extra headers for websocket URIs
Was not able to get Collabora working with Nextcloud without these edits
This commit is contained in:
parent
fda885d4c3
commit
71b18dd9bb
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,8 @@ server {
|
||||||
set $upstream_proto https;
|
set $upstream_proto https;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_read_timeout 36000s;
|
proxy_read_timeout 36000s;
|
||||||
}
|
}
|
||||||
|
@ -72,6 +74,8 @@ server {
|
||||||
set $upstream_proto https;
|
set $upstream_proto https;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_read_timeout 36000s;
|
proxy_read_timeout 36000s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue