Answer the question
In order to leave comments, you need to log in
How to properly set the path in nginx?
On the server there is such a path to the script /var/www/example/sites/example.com/parser
There is this in nginx.conf
location /parser/ {
root /var/www/example/sites/example.com;
}
Answer the question
In order to leave comments, you need to log in
see error_log there it will be written why 403, maybe there are no rights.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question