mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 18:19:11 +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}" = {
|
"${codeForgeDomain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations = let
|
||||||
proxyPass = "http://localhost:${toString config.services.gitea.httpPort}";
|
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