I hate debugging Apache rewrite rules even more than debugging regular expressions.
Spent several hours thus far trying to reconcile rules for my NIP-05 entry so that it will validate on my root domain without the "www" prefix.
This might be a sign you don't know about caddy.
https://caddyserver.com/
#[0]
Please Login to reply.
+1 for Caddy
config format was somewhat confusing at first, but awesome once it clicked