Allow and Deny IP's

Ph. Gras ph.gras at worldonline.fr
Wed Feb 7 22:46:40 UTC 2018


Hmmm!

>>> location ~* wp-login\.php$ {
>> 
>>> 185.124.153.168 - - [05/Feb/2018:21:36:12 +0100] "GET /wp-login.php HTTP/1.1" 200 1300 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0"
>> 
>>> Me too :-(
>> 
>> Have you any reason to believe that this location is used to handle this request?
> 
> Yes, and this especially since before, it worked as expected :-(

You're right. It's working better with a / before path :-)

location =/wp-login.php {
#		etc;
}

Thanks for all,

Ph. Gras


More information about the nginx mailing list