Answer the question
In order to leave comments, you need to log in
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;
}
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question