Why Nostr? What is Njump?
2024-08-16 13:13:28

laanwj on Nostr: reverse-proxying from nginx to a tor onion is such a pain, the best method is ...

reverse-proxying from nginx to a tor onion is such a pain, the best method is probably using socat as in https://docs.btcpayserver.org/Deployment/ReverseProxyToTor/ but it's annoying to have another moving part to manage

alternatively there's an 8-year-old nginx module, https://github.com/dannote/socks-nginx-module, that adds direct socks proxy support, but using it, as i understand, requires patching and recompiling nginx

another option i've found is a http proxy for onions that nginx can use directly, https://github.com/termermc/tor-reverse-proxy/ but like the first option it's another process to keep running, and it's in server-side javascript ☹️
Author Public Key
npub1p23eukh0nxsqpfaakz6fj9vvj27y4gs0kevnrffdq4d4adkl7uuq7crnl6