fix build error and typos
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 38s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 38s
This commit is contained in:
parent
028a370299
commit
fb22490bd8
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
redirects = {
|
redirects = {
|
||||||
"www" = "https://proxy.${homelab.domain}";
|
"www" = "https://proxy.${homelab.domain}";
|
||||||
"dash" = "https://${homelab.domain}";
|
"dash" = "https://${homelab.domain}";
|
||||||
"immich" = "https://gallery.proxy${homelab.domain}";
|
"immich" = "https://gallery.proxy.${homelab.domain}";
|
||||||
};
|
};
|
||||||
exta-conf = ''
|
exta-conf = ''
|
||||||
# proxy_set_header X-Auth-User $remote_user;
|
# proxy_set_header X-Auth-User $remote_user;
|
||||||
|
|
@ -74,7 +74,7 @@ in {
|
||||||
} // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair "${subdomain}.${base}" {
|
} // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair "${subdomain}.${base}" {
|
||||||
useACMEHost = base;
|
useACMEHost = base;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".return = "301 ${cfg.dest}";
|
locations."/".return = "301 ${cfg}";
|
||||||
}) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") {
|
}) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") {
|
||||||
useACMEHost = base;
|
useACMEHost = base;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue