fix broken dest
This commit is contained in:
parent
a945955835
commit
ac542840a0
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ in {
|
|||
} // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair "${subdomain}.${base}" {
|
||||
useACMEHost = base;
|
||||
forceSSL = true;
|
||||
locations."/".return = "301 ${base}";
|
||||
locations."/".return = "301 ${cfg.dest}";
|
||||
}) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") {
|
||||
useACMEHost = base;
|
||||
forceSSL = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue