diff --git a/modules/configuration.nix b/modules/configuration.nix index c1707c9..23a4303 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -282,7 +282,6 @@ in "https://${personalization.onlyoffice_url}" = { extraConfig = '' reverse_proxy http://localhost:8000 - encode gzip zstd ''; }; }; @@ -407,8 +406,8 @@ backup /etc/nix-bitcoin-secrets/ localhost/ ####### Open ports in the firewall ####### - networking.firewall.allowedTCPPorts = [ 80 443 5349 8448 3050 3051 9080 9443 8000 8100 ]; - networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3050 3051 9080 9443 8000 8100 ]; + networking.firewall.allowedTCPPorts = [ 80 443 5349 8448 3050 3051 ]; + networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3050 3051 ]; networking.firewall.allowedUDPPortRanges = [ { from=49152; to=65535; } # TURN relay ]; diff --git a/modules/modules.nix b/modules/modules.nix index 3104f15..222162d 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -8,7 +8,7 @@ ./coturn.nix ./bitcoinecosystem.nix ./vaultwarden.nix - #./onlyoffice.nix + ./onlyoffice.nix /etc/nixos/hardware-configuration.nix ]; } \ No newline at end of file diff --git a/modules/onlyoffice.nix b/modules/onlyoffice.nix index 1619009..5249c4d 100644 --- a/modules/onlyoffice.nix +++ b/modules/onlyoffice.nix @@ -7,14 +7,9 @@ let services.onlyoffice = { enable = true; jwtSecretFile = "${personalization.onlyofficejwtSecretFile}"; - enableExampleServer = true; - examplePort = 8100; }; services.nginx.defaultSSLListenPort = 9443; services.nginx.defaultHTTPListenPort = 9080; - - #services.epmd.listenStream = "127.0.0.1:4369"; - }