Nostr NIP-05 specification makes it a bit harder to serve identifiers from a simple webserver without CGI to run an external program handling the name
URL query parameter. I really didn't want to do all that, so instead I focused on how to handle everything just in Nginx itself.
- A server with Nginx responding to basic requests. (minimal configuration should be enough)
Inside the http
block insert map
and map_hash_bucket_size
directives:
map_hash_bucket_size 256;
map $arg_name $nostr_key {