l lassul.us: add /ip endpoint
This commit is contained in:
parent
ea5e8bc757
commit
14c0eedc2b
@ -64,6 +64,9 @@ in {
|
|||||||
locations."= /gpg.pub".extraConfig = ''
|
locations."= /gpg.pub".extraConfig = ''
|
||||||
alias ${pkgs.writeText "pub" config.krebs.users.lass-yubikey.pgp.pubkeys.default};
|
alias ${pkgs.writeText "pub" config.krebs.users.lass-yubikey.pgp.pubkeys.default};
|
||||||
'';
|
'';
|
||||||
|
locations."= /ip".extraConfig = ''
|
||||||
|
return 200 '$remote_addr';
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user