add httpPort 8080 and set bindAddress to localhost
This commit is contained in:
parent
fec49f21dc
commit
f9c134ad94
|
@ -29,11 +29,11 @@ in
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "https://127.0.0.1:8443";
|
||||
proxyPass = "http://127.0.0.1:8080";
|
||||
# proxyWebsockets = true;
|
||||
};
|
||||
locations."/auth" = {
|
||||
proxyPass = "https://127.0.0.1:8443/auth";
|
||||
proxyPass = "http://127.0.0.1:8080/auth";
|
||||
# proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
@ -48,6 +48,8 @@ in
|
|||
inherit (pkgs.keycloak-secrets) initialAdminPassword;
|
||||
frontendUrl = "https://${frontendDomain}/auth";
|
||||
forceBackendUrlToFrontendUrl = true;
|
||||
httpPort = "8080";
|
||||
bindAddress = "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;
|
||||
|
|
Loading…
Reference in New Issue