trouble shoot onlyoffice

This commit is contained in:
naturallaw77 2023-06-16 11:19:23 -07:00
parent 939bc0528c
commit 48e29157d4
2 changed files with 6 additions and 4 deletions

View File

@ -407,8 +407,8 @@ backup /etc/nix-bitcoin-secrets/ localhost/
####### Open ports in the firewall ####### ####### Open ports in the firewall #######
networking.firewall.allowedTCPPorts = [ 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 ]; networking.firewall.allowedUDPPorts = [ 80 443 5349 8448 3050 3051 9080 9443 8000 8100 ];
networking.firewall.allowedUDPPortRanges = [ networking.firewall.allowedUDPPortRanges = [
{ from=49152; to=65535; } # TURN relay { from=49152; to=65535; } # TURN relay
]; ];

View File

@ -7,10 +7,12 @@ let
services.onlyoffice = { services.onlyoffice = {
enable = true; enable = true;
jwtSecretFile = "${personalization.onlyofficejwtSecretFile}"; jwtSecretFile = "${personalization.onlyofficejwtSecretFile}";
enableExampleServer = true;
examplePort = 8100;
}; };
services.nginx.defaultSSLListenPort = 9443; #services.nginx.defaultSSLListenPort = 9443;
services.nginx.defaultHTTPListenPort = 9080; #services.nginx.defaultHTTPListenPort = 9080;
#services.epmd.listenStream = "127.0.0.1:4369"; #services.epmd.listenStream = "127.0.0.1:4369";