diff options
author | tv <tv@krebsco.de> | 2022-12-19 14:17:18 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-19 14:17:18 +0100 |
commit | 1081102c427ceb9677925035e3b449a1f986d293 (patch) | |
tree | 136e42953b9e7eb1b3a6fe270267f5fb663fbb7f /krebs/3modules/krebs-pages.nix | |
parent | 68e845da879f2064886794da330b652d60a47796 (diff) | |
parent | 37e2e08a0ad47985de277a01d392a11fbe2242f0 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/3modules/krebs-pages.nix')
-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 c2df65ff5..6dd046a8b 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."= /ip".return = "200 $remote_addr"; locations."= /redirect".return = "301 /redirect"; }]; }; |