Answer the question
In order to leave comments, you need to log in
Nginx location: how to deny access to a folder?
I know there are many similar questions. But if I need to deny access to the folder and all files in it domen.ru/scripts/php/file.php, making it available only to other PHP scripts, then
location /scripts/php/ {
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