trouble shoot onlyoffice

This commit is contained in:
naturallaw77 2023-06-16 13:23:02 -07:00
parent 72d887dffe
commit 876bad84e5
3 changed files with 3 additions and 9 deletions

View File

@ -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
];

View File

@ -8,7 +8,7 @@
./coturn.nix
./bitcoinecosystem.nix
./vaultwarden.nix
#./onlyoffice.nix
./onlyoffice.nix
/etc/nixos/hardware-configuration.nix
];
}

View File

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