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: http
Mar 21 2020
IIS Redirect HTTP to HTTPS
Once the SSL certificate is installed, your site still remains accessible via a regular insecure HTTP connection. To connect securely, visitors must specify the https:// prefix manually when entering your site’s address in their browsers. In order to force a secure connection on your website, it is necessary to set up HTTP to HTTPS redirection …