fix(nextcloud): fix proxy for collabora/code
This commit is contained in:
parent
a637a93bc0
commit
2077f87f54
|
@ -57,19 +57,12 @@ in {
|
||||||
services.nginx.virtualHosts."office.felschr.com" = {
|
services.nginx.virtualHosts."office.felschr.com" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations = {
|
locations."/" = {
|
||||||
"^~ /browser".proxyPass = "http://127.0.0.1:9980";
|
proxyPass = "http://127.0.0.1:9980";
|
||||||
"^~ /hosting/discovery".proxyPass = "http://127.0.0.1:9980";
|
proxyWebsockets = true;
|
||||||
"^~ /hosting/capabilities".proxyPass = "http://127.0.0.1:9980";
|
extraConfig = ''
|
||||||
"~ ^/cool/(.*)/ws$" = {
|
proxy_read_timeout 36000s;
|
||||||
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