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";