summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-23 23:13:22 +0200
committerlassulus <git@lassul.us>2023-07-23 23:13:22 +0200
commit14c0eedc2b93ffcdd8964f61f9db9072e93cb62f (patch)
tree8e3bd117ab6f72795fe9da20c08790768ec10b7b /lass/2configs
parentea5e8bc757a7920dc5d23be7890fca7de059a0ba (diff)
l lassul.us: add /ip endpoint
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/websites/lassulus.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/lass/2configs/websites/lassulus.nix b/lass/2configs/websites/lassulus.nix
index b147bd42b..9440413aa 100644
--- a/lass/2configs/websites/lassulus.nix
+++ b/lass/2configs/websites/lassulus.nix
@@ -64,6 +64,9 @@ in {
locations."= /gpg.pub".extraConfig = ''
alias ${pkgs.writeText "pub" config.krebs.users.lass-yubikey.pgp.pubkeys.default};
'';
+ locations."= /ip".extraConfig = ''
+ return 200 '$remote_addr';
+ '';
};