Answer the question
In order to leave comments, you need to log in
How to prevent access to url in nginx by mask?
I want to prevent access in the nginx file to links like uk/404.php?c=L3NoL2FwaS8_dHlwZT02JmlkPTg0NA,,
I am writing
location ~ /uk/404.php?c=.*$ {
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