krebs-pages: add /redirect
This commit is contained in:
parent
1d7766e695
commit
36e0f320a2
@ -38,6 +38,7 @@ in {
|
||||
enable = lib.mkDefault true;
|
||||
virtualHosts.${cfg.domain} = lib.mkMerge [ cfg.nginx {
|
||||
root = lib.mkForce cfg.package;
|
||||
locations."= /redirect".return = "301 /redirect";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user