diff options
author | lassulus <git@lassul.us> | 2023-07-23 23:13:22 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-07-23 23:13:22 +0200 |
commit | 14c0eedc2b93ffcdd8964f61f9db9072e93cb62f (patch) | |
tree | 8e3bd117ab6f72795fe9da20c08790768ec10b7b | |
parent | ea5e8bc757a7920dc5d23be7890fca7de059a0ba (diff) |
l lassul.us: add /ip endpoint
-rw-r--r-- | lass/2configs/websites/lassulus.nix | 3 |
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'; + ''; }; |