This commit is contained in:
2025-09-24 18:51:28 +03:00
parent 13b0d96d20
commit 4c26501126
2 changed files with 17 additions and 3 deletions
+15 -1
View File
@@ -40,7 +40,21 @@
# port = 11000;
# }
# ];
# };
# };
"office.zeroq.ru" = {
forceSSL = false;
enableACME = false;
locations."/" = {
proxyPass = "onlyoffice.local";
proxyWebsockets = true;
};
extraConfig = ''
# Force nginx to return relative redirects. This lets the browser
# figure out the full URL. This ends up working better because it's in
# front of the reverse proxy and has the right protocol, hostname & port.
absolute_redirect off;
'';
};
# "onlyoffice.local" = {
# forceSSL = false;
# enableACME = false;