This commit is contained in:
2025-09-23 23:25:45 +03:00
parent 097d8c6903
commit 8ff84c3c87
4 changed files with 19 additions and 10 deletions
+4 -1
View File
@@ -7,7 +7,10 @@
... ...
}: }:
let let
stable = import inputs.nixpkgs-stable { system = "x86_64-linux"; }; stable = import inputs.nixpkgs-stable {
system = "x86_64-linux";
config.allowUnfree = true;
};
in in
{ {
services = { services = {
+7 -1
View File
@@ -41,7 +41,7 @@
# } # }
# ]; # ];
# }; # };
"onlyoffice" = { "onlyoffice.local" = {
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;
listen = [ listen = [
@@ -54,6 +54,12 @@
port = 8000; port = 8000;
} }
]; ];
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;
'';
}; };
# "localhost:9980" = { # "localhost:9980" = {
# forceSSL = false; # forceSSL = false;