mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 12:19:12 +00:00
hosts/plover: update Keycloak paths in reverse proxy
This commit is contained in:
parent
15722347eb
commit
fcd8bde8dc
@ -158,8 +158,12 @@ in
|
||||
"${codeForgeDomain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.gitea.httpPort}";
|
||||
locations = let
|
||||
keycloakPath = path: "http://localhost:${toString config.services.gitea.httpPort}${path}";
|
||||
in {
|
||||
"/realms".proxyPass = keycloakPath "/realms";
|
||||
"/resources".proxyPass = keycloakPath "/resources";
|
||||
"/robots.txt".proxyPass = keycloakPath "/robots.txt";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user