ngx_http_proxy_connect_module
ngx_http_proxy_connect_module copied to clipboard
Does the module support tor proxy ?
Good afternoon, I am trying to organize proxying by means of this module.
torrc
DataDirectory /var/lib/tor/proxy
HTTPTunnelPort 7272
RunAsDaemon 1
and config for nginx
server {
listen 80;
server_name localhost;
proxy_connect;
location / {
proxy_set_header Host "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.onion";
proxy_pass http://127.0.0.1:7272;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
But unfortunately nothing happens. and I still get the error that my host does not support http connect from tor. and proxying does not happen.
which way is up? and whether this scheme is possible with this module.
and I still get the error that my host does not support http connect from tor. and proxying does not happen.
what error message did your client report? You could use curl command to test its connectivity .
mark as stale, if you still have issue, feel free to reopen it.