diff options
author | tv <tv@krebsco.de> | 2022-12-14 00:04:36 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-14 00:05:20 +0100 |
commit | 36e0f320a2f049e34ac031b45df949e6b0cad27e (patch) | |
tree | a34f66395e5f7e46065b4f3e112c3d0aac036f73 /krebs/3modules | |
parent | 1d7766e6951edfdff2c1c0cbb601742c44da810e (diff) |
krebs-pages: add /redirect
Diffstat (limited to 'krebs/3modules')
-rw-r--r-- | krebs/3modules/krebs-pages.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/krebs-pages.nix b/krebs/3modules/krebs-pages.nix index a2a5b723e..c2df65ff5 100644 --- a/krebs/3modules/krebs-pages.nix +++ b/krebs/3modules/krebs-pages.nix @@ -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"; }]; }; }; |