0

is this possible to to mirror any tor website to my tor site? I found some article about such https://itgala.xyz/nginx-reverse-proxy-to-onion-site-in-tor-network/

My Nginx config: /etc/nginx/sites-enabled/hy-reverse

server {
        listen 127.0.0.1:80 default_server;
        server_name localhost;

        root /var/www/site1;
        index index.html index.htm;

    location / {
   # allow 127.0.0.1;
   # deny all;
    proxy_pass http://127.0.0.1:81/;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
}

}

Then I try command: socat tcp4-LISTEN:81,reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:127.0.0.1:yourtordomain.onion:80,socksport=9050

Next I try visit my first onion domain and I see error 502 Bad Gateway

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.