Caddy rocks! nostr:nprofile1qqst0mtgkp3du662ztj3l4fgts0purksu5fgek5n4vgmg9gt2hkn9lqppemhxue69uhkummn9ekx7mp0qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7zwmlw6

Simple method to Set up nip 05 -

```

example.com {

root * /var/www/example.com

file_server

# Redirect HTTP to HTTPS

@http {

protocol http

}

redir @http https://{host}{uri}

# Handle Nostr Verification

handle /.well-known/nostr.json {

header Content-Type application/json

respond `{

"names": {

"example_name": "npub1examplepublickeyhexvalue1234567890abcdef"

}

}` 200

}

# Automatic TLS with email

tls example_email@example.com

}

```

Reply to this note

Please Login to reply.

Discussion

I think tls and redirection are default, no need to config