I
I
im_dimas2020-06-19 12:01:28
Nginx
im_dimas, 2020-06-19 12:01:28

How to set up a .onion site?

Hello, I raised the .onion site, it works and is available at the generated address, but there is one problem that does not allow you to continue working with it, this is a 502 Bad Gateway error when opening php scripts. At first the scripts were just downloaded, I googled and changed the nginx config, now the error is 502

In the /etc/nginx/sites-available config

...
location ~ \.php$ {
            fastcgi_pass 127.0.0.1:9000;
            include /etc/nginx/fastcgi_params;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $request_filename;
            allow 127.0.0.1;
            deny all;
      }
...


OS - Debian 10.
I would not say that I am a confident user in Linux, rather a beginner who does everything Google articles

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-06-19
@im_dimas

A similar question has already been asked.
How to create a website on the Tor network?
Just described my life in one sentence

I would not say that I am a confident user in Linux, rather a beginner who does everything Google articles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question