From 48e29157d41b1ef29d811542595f16c84e4c14f9 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 16 Jun 2023 11:19:23 -0700 Subject: [PATCH] trouble shoot onlyoffice --- modules/configuration.nix | 4 ++-- modules/onlyoffice.nix | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/configuration.nix b/modules/configuration.nix index fecfbdc..c1707c9 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -407,8 +407,8 @@ backup /etc/nix-bitcoin-secrets/ localhost/ ####### Open ports in the firewall ####### - networking.firewall.allowedTCPPorts = [ 80 443 5349 8448 3050 3051 9080 9443 8000 ]; - networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3050 3051 9080 9443 8000 ]; + 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.allowedUDPPortRanges = [ { from=49152; to=65535; } # TURN relay ]; diff --git a/modules/onlyoffice.nix b/modules/onlyoffice.nix index 2a07101..6107d7d 100644 --- a/modules/onlyoffice.nix +++ b/modules/onlyoffice.nix @@ -7,10 +7,12 @@ let services.onlyoffice = { enable = true; jwtSecretFile = "${personalization.onlyofficejwtSecretFile}"; + enableExampleServer = true; + examplePort = 8100; }; - services.nginx.defaultSSLListenPort = 9443; - services.nginx.defaultHTTPListenPort = 9080; + #services.nginx.defaultSSLListenPort = 9443; + #services.nginx.defaultHTTPListenPort = 9080; #services.epmd.listenStream = "127.0.0.1:4369";