Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the module support tor proxy ? #298

Open
TheShadowMax opened this issue Feb 28, 2024 · 1 comment
Open

Does the module support tor proxy ? #298

TheShadowMax opened this issue Feb 28, 2024 · 1 comment

Comments

@TheShadowMax
Copy link

TheShadowMax commented Feb 28, 2024

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.

@chobits
Copy link
Owner

chobits commented Mar 1, 2024

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants