forked from pub-solar/infra
fix: enable SSL for keycloak
This commit is contained in:
parent
8e07034aad
commit
8da5f0b48a
|
@ -12,7 +12,11 @@
|
|||
#owner = "keycloak";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."auth.pub.solar".locations = {
|
||||
services.nginx.virtualHosts."auth.pub.solar" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
locations = {
|
||||
"= /" = {
|
||||
extraConfig = ''
|
||||
return 302 /realms/pub.solar/account;
|
||||
|
@ -25,6 +29,7 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# keycloak
|
||||
services.keycloak = {
|
||||
|
|
Loading…
Reference in a new issue