mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
fix: keycloak redirect to /auth
This commit is contained in:
parent
c133f603fa
commit
4a85789f64
1 changed files with 6 additions and 1 deletions
|
|
@ -55,7 +55,12 @@ in {
|
|||
services.nginx.virtualHosts."auth.${config.network.dns.domain}" = {
|
||||
useACMEHost = "domain-auth";
|
||||
forceSSL = true;
|
||||
locations = { "/".proxyPass = "http://127.0.0.1:8089"; };
|
||||
locations = {
|
||||
"/".extraConfig = ''
|
||||
return 301 /auth;
|
||||
'';
|
||||
"/auth".proxyPass = "http://127.0.0.1:8089/auth";
|
||||
};
|
||||
};
|
||||
|
||||
deploy.tf.dns.records.services_keycloak = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue