mirror of
https://github.com/truenas/charts.git
synced 2026-11-23 07:16:13 +00:00
Temporarily skip overriding referer for collabora
This commit is contained in:
1 parent
270e996be3
commit
b8a102dd5a
1 file changed
+5
-5
@@ -65,7 +65,7 @@ data:
|
|||||||
location ^~ /loleaflet {
|
location ^~ /loleaflet {
|
||||||
proxy_pass http://collabora:9980;
|
proxy_pass http://collabora:9980;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Referer "http://nginx";
|
# proxy_set_header Referer "http://nginx";
|
||||||
}
|
}
|
||||||
|
|
||||||
# WOPI discovery URL
|
# WOPI discovery URL
|
||||||
@@ -73,14 +73,14 @@ data:
|
|||||||
set $upstream_collabora collabora;
|
set $upstream_collabora collabora;
|
||||||
proxy_pass http://$upstream_collabora:9980;
|
proxy_pass http://$upstream_collabora:9980;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header Referer "http://nginx";
|
# proxy_set_header Referer "http://nginx";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Capabilities
|
# Capabilities
|
||||||
location ^~ /hosting/capabilities {
|
location ^~ /hosting/capabilities {
|
||||||
proxy_pass http://collabora:9980;
|
proxy_pass http://collabora:9980;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Referer "http://nginx";
|
# proxy_set_header Referer "http://nginx";
|
||||||
}
|
}
|
||||||
|
|
||||||
# main websocket
|
# main websocket
|
||||||
@@ -89,7 +89,7 @@ data:
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_set_header Referer "http://nginx";
|
# proxy_set_header Referer "http://nginx";
|
||||||
proxy_read_timeout 36000s;
|
proxy_read_timeout 36000s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -106,7 +106,7 @@ data:
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
proxy_set_header Referer "http://nginx";
|
# proxy_set_header Referer "http://nginx";
|
||||||
proxy_read_timeout 36000s;
|
proxy_read_timeout 36000s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user