This commit is contained in:
2025-09-20 20:17:25 +03:00
parent 5b8559f254
commit 38210d34cd
2 changed files with 20 additions and 1 deletions
+8
View File
@@ -27,6 +27,14 @@
} }
]; ];
}; };
# "localhost:8890" = {
# listen = [
# {
# addr = "127.0.0.1";
# port = 8890;
# }
# ];
# };
"localhost:8890" = { "localhost:8890" = {
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;
+12 -1
View File
@@ -36,7 +36,7 @@ in
proxyPass = "http://${server}:8890"; proxyPass = "http://${server}:8890";
proxyWebsockets = true; # collabora uses websockets proxyWebsockets = true; # collabora uses websockets
}; };
# listen = [ # listen = [
# { # {
# addr = "0.0.0.0"; # addr = "0.0.0.0";
# port = 443; # port = 443;
@@ -118,6 +118,17 @@ in
# }; # };
}; };
}; };
caddy = {
enable = true;
virtualHosts = {
"collabora.zeroq.ru".extraConfig = ''
reverse_proxy http://100.64.0.0:8890 {
# Required to circumvent bug of Onlyoffice loading mixed non-https content
header_up X-Forwarded-Proto https
}
'';
};
};
}; };
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;