forked from pub-solar/infra
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:
parent
7a7e4ba4b4
commit
cd1fa3daef
|
@ -9,10 +9,13 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
locations."/".extraConfig = ''
|
locations."/" = {
|
||||||
proxy_pass http://127.0.0.1:9980;
|
proxyWebsockets = true;
|
||||||
proxy_set_header Host $host;
|
extraConfig = ''
|
||||||
'';
|
proxy_pass http://127.0.0.1:9980;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
|
Loading…
Reference in a new issue