David @mleku - 9h
i modified a reverse proxy app called "leproxy" which does letsencrypt certs, connection forwarding, file hosting and unix socket redirection, and added nostr nip-05 hosting, your own paid for TLS certs and golang vanity redirects: to install it: go install realy.lol/cmd/lerproxy@latest you can see it at https://realy.lol https://x.realy.lol https://pics.mleku.dev and https://files.mleku.dev - i mostly host my own images using it, my nip-05 [email protected] is also done with it readme and the source code is here: https://github.com/mleku/realy/tree/dev/cmd/lerproxy
haha in the process i discovered that i had messed up the transition to my new VPS on the realy.lol address... for some weird reason, x.realy.lol worked but not realy.lol. was because i think the wildcard was pointing to the new address but the @ A record was pointing to the previous address
not sure if anyone knew of this but i modded a #golang reverse proxy server to include nip-05 hosting (you just give it the path of the nostr.json file) it can host your own paid for TLS certs, it does golang vanity import redirections, static file hosting and of course arbitrary redirects (to your own web services) #devstr #nip05 nostr:nevent1qvzqqqqqqypzqnyqqft6tz9g9pyaqjvp0s4a4tvcfvj6gkke7mddvmj86w68uwe0qyghwumn8ghj7mn0wd68ytnvv9hxgtcpz9mhxue69uhkummnw3ezuamfdejj7qpqagm6sk3ccshyye7xeheapw02q4tgng40elntwg32wpvql8uvqzsq9mwk4e
David @mleku - 4h
it's actually no more complex to configure nginx than it is to write a reverse proxy from scratch in #golang a simple one purpose proxy that has a stored TLS certificate is under 10 lines of code. pretty sure nginx config will be over 30 lines for the same functionality.