l lassul.us: add /ip endpoint

This commit is contained in:
lassulus 2023-07-23 23:13:22 +02:00
parent ea5e8bc757
commit 14c0eedc2b

View File

@ -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';
'';
};