summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/krebs-pages.nix1
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";
}];
};