fix(nextcloud): use recommended nginx config for collabora/code
This commit is contained in:
parent
06996377f6
commit
8474d93a8c
|
@ -57,9 +57,19 @@ in {
|
||||||
services.nginx.virtualHosts."office.felschr.com" = {
|
services.nginx.virtualHosts."office.felschr.com" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations = {
|
||||||
proxyPass = "http://localhost:9980";
|
"^~ /browser".proxyPass = "http://127.0.0.1:9980";
|
||||||
proxyWebsockets = true;
|
"^~ /hosting/discovery".proxyPass = "http://127.0.0.1:9980";
|
||||||
|
"^~ /hosting/capabilities".proxyPass = "http://127.0.0.1:9980";
|
||||||
|
"~ ^/cool/(.*)/ws$" = {
|
||||||
|
proxyPass = "http://127.0.0.1:9980";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
"~ ^/(c|l)ool".proxyPass = "http://127.0.0.1:9980";
|
||||||
|
"^~ /cool/adminws" = {
|
||||||
|
proxyPass = "http://127.0.0.1:9980";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue