diff --git a/nixosModules/server/nginx.nix b/nixosModules/server/nginx.nix index 383c553..9f7ac09 100755 --- a/nixosModules/server/nginx.nix +++ b/nixosModules/server/nginx.nix @@ -41,26 +41,26 @@ # } # ]; # }; - # "onlyoffice.local" = { - # forceSSL = false; - # enableACME = false; - # listen = [ - # { - # addr = "100.64.0.0"; - # port = 8080; - # } - # { - # addr = "192.168.1.20"; - # port = 8080; - # } - # ]; - # 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; + listen = [ + { + addr = "100.64.0.0"; + port = 8000; + } + { + addr = "192.168.1.20"; + 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" = { # forceSSL = false; # enableACME = false; diff --git a/nixosModules/vds/nginx.nix b/nixosModules/vds/nginx.nix index b280b73..9ac7982 100755 --- a/nixosModules/vds/nginx.nix +++ b/nixosModules/vds/nginx.nix @@ -38,7 +38,6 @@ in }; extraConfig = '' client_max_body_size 5G; - absolute_redirect off; ''; }; "immich.zeroq.ru" = {