From ebe26ca14bd3d4d1b6d2d6420274400cee9f902e Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Tue, 13 Jun 2023 21:08:57 -0700 Subject: [PATCH] trouble shooting onlyoffice webserver --- modules/configuration.nix | 5 +++-- modules/onlyoffice.nix | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/configuration.nix b/modules/configuration.nix index e2ba6e1..e91e6b4 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -400,8 +400,9 @@ backup /etc/nix-bitcoin-secrets/ localhost/ ####### Open ports in the firewall ####### - networking.firewall.allowedTCPPorts = [ 80 443 5349 8448 3050 3051 9443 9080 ]; - networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3050 3051 9443 9080 ]; + networking.firewall.allowedTCPPorts = [ 80 443 5349 8448 3050 3051 9443 9080 8100 8000 ]; + networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3050 3051 9443 9080 8100 8000 + ]; networking.firewall.allowedUDPPortRanges = [ { from=49152; to=65535; } # TURN relay ]; diff --git a/modules/onlyoffice.nix b/modules/onlyoffice.nix index 5da7385..a00f3f3 100644 --- a/modules/onlyoffice.nix +++ b/modules/onlyoffice.nix @@ -7,6 +7,9 @@ let services.onlyoffice = { enable = true; hostname = "${personalization.onlyoffice_url}"; + examplePort = 8100; + enableExampleServer = true; + }; services.nginx.defaultSSLListenPort = 9443;