try fixing the local listen address

This commit is contained in:
Nek0 - 2021-10-16 20:43:43 +02:00
parent 9862642cbb
commit 467e31f742
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ in
};
# http https
networking.firewall.allowedTCPPorts = [ 77 443 ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
@ -49,7 +49,7 @@ in
frontendUrl = "https://${frontendDomain}/auth";
forceBackendUrlToFrontendUrl = true;
httpPort = "${jboss.http.port = 8080}";
bindAddress = "127.0.0.1";
bindAddress = "${jboss.bind.address = "127.0.0.1"}";
# sslCertificate = "/var/lib/acme/${frontendDomain}/fullchain.pem";
# sslCertificateKey = "/var/lib/acme/${frontendDomain}/key.pem";
database.passwordFile = builtins.toFile "db_password" dbPassword;