fix: enable websockets for collabora

Adopt upstream recommended nginx config
https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-with-nginx-webserver
This commit is contained in:
teutat3s 2023-11-03 12:21:51 +01:00
parent 7a7e4ba4b4
commit cd1fa3daef
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -9,11 +9,14 @@
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
locations."/" = {
proxyWebsockets = true;
extraConfig = ''
proxy_pass http://127.0.0.1:9980;
proxy_set_header Host $host;
'';
};
};
virtualisation = {
oci-containers = {