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 default_server;
        server_name localhost;

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

    location / {
   # allow;
   # deny all;
    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= SOCKS4A:,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.