As Tor is not a http proxy but a Socks one you cannot insert .onion name or IP in proxy_pass directive. In order to use Nginx as reverse proxy to .onion sites you will need a socat. Socat is a command line based utility that establishes two bidirectional data streams and transfers between them. This …
Tag: Socat
Sep 02 2020
How To Debug Nginx Reverse Proxy Issues
Nginx server is loved by many people for its proxy capabilities and ease of configuration. A simple proxy_pass can allow you to connect to any of the backends such as GoLang, php-fpm, NodeJS, another Nginx, Tomcat, Apache, Gunicorn, uwsgi, Flask, Django, an external CDN and many more. When proxying a request to another server, you …