Add Nostr NIP-05 verification

This commit is contained in:
Gene Liverman 2025-01-28 23:37:25 -05:00
parent f99945596b
commit f4d2b2a9fe

View file

@ -77,6 +77,15 @@ in {
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
''; '';
}; };
"/.well-known/nostr.json" = {
return = ''
200 '{"names": {"genebean": "dba168fc95fdbd94b40096f4a6db1a296c0e85c4231bfc9226fca5b7fcc3e5ca"}}'
'';
extraConfig = ''
default_type application/json;
add_header Access-Control-Allow-Origin *;
'';
};
}; };
}; };
"albyhub.${domain}" = { "albyhub.${domain}" = {