feat/keycloak #24

Merged
b12f merged 9 commits from feat/keycloak into main 2023-10-28 21:35:08 +00:00
Showing only changes of commit 16a5ee93cc - Show all commits

View file

@ -12,17 +12,22 @@
#owner = "keycloak";
};
services.nginx.virtualHosts."auth.pub.solar".locations = {
"= /" = {
extraConfig = ''
return 302 /realms/pub.solar/account;
'';
};
services.nginx.virtualHosts."auth.pub.solar" = {
enableACME = true;
forceSSL = true;
"/" = {
extraConfig = ''
proxy_pass http://localhost:8080;
'';
locations = {
"= /" = {
extraConfig = ''
return 302 /realms/pub.solar/account;
'';
};
"/" = {
extraConfig = ''
proxy_pass http://localhost:8080;
'';
};
};
};