Skip to content

Commit

Permalink
Fix the root redirect to account console (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimuedaertya authored and tanneberger committed Jan 5, 2024
1 parent 7a1f424 commit dda228d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/management/keycloak.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,16 @@ in
enableACME = true;
forceSSL = true;
locations = {
"= /" = {
return = "302 https://auth.${config.deployment-dd-ix.domain}/realms/DD-IX/account/";
};
"/" = {
proxyPass = "http://127.0.0.1:${toString config.services.keycloak.settings.http-port}";
proxyWebsockets = true;
};
};
};

"keycloak.${config.deployment-dd-ix.domain}" = {
enableACME = true;
forceSSL = true;
Expand Down

0 comments on commit dda228d

Please sign in to comment.