diff --git a/nixosModules/server/nextcloud.nix b/nixosModules/server/nextcloud.nix index 2337cb3..6dd65ee 100755 --- a/nixosModules/server/nextcloud.nix +++ b/nixosModules/server/nextcloud.nix @@ -120,7 +120,8 @@ in }; onlyoffice = { enable = true; - hostname = "localhost"; + hostname = "0.0.0.0"; + jwtSecretFile = "${inputs.zeroq-credentials}/services/onlyoffice/jwt.txt"; }; }; @@ -129,9 +130,6 @@ in # "nextcloud.zeroq.ru" # "office.zeroq.ru" # ]; - "nextcloud.local" = [ - "nextcloud.zeroq.ru" - ]; # "0.0.0.0" = [ # "onlyoffice.local" # ]; diff --git a/nixosModules/server/nginx.nix b/nixosModules/server/nginx.nix index 0a6aa79..9dc13c4 100755 --- a/nixosModules/server/nginx.nix +++ b/nixosModules/server/nginx.nix @@ -27,20 +27,20 @@ } ]; }; - "localhost:8000" = { - forceSSL = false; - enableACME = false; - listen = [ - { - addr = "100.64.0.0"; - port = 8000; - } - { - addr = "192.168.1.20"; - port = 8000; - } - ]; - }; + # "localhost:8000" = { + # forceSSL = false; + # enableACME = false; + # listen = [ + # { + # addr = "100.64.0.0"; + # port = 9980; + # } + # { + # addr = "192.168.1.20"; + # port = 9980; + # } + # ]; + # }; # "office.zeroq.ru" = { # forceSSL = false; # enableACME = false; diff --git a/nixosModules/vds/nginx.nix b/nixosModules/vds/nginx.nix index 43eff83..f07f113 100755 --- a/nixosModules/vds/nginx.nix +++ b/nixosModules/vds/nginx.nix @@ -62,7 +62,6 @@ in }; extraConfig = '' client_max_body_size 5G; - absolute_redirect off; ''; # absolute_redirect off; }; "immich.zeroq.ru" = {