Allow and Deny IP's

Ph. Gras ph.gras at worldonline.fr
Wed Feb 7 18:28:37 UTC 2018


Hi Francis,

>> 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 :-(

> 
> $ nginx -T | grep 'server\|location'
> 
> will possibly give a useful hint in that direction.

# nginx -T | grep "www.example.com/wp-login.php"
nginx: invalid option: "T"

Is something missing ?

# apt-show-versions | grep nginx
nginx:all/jessie 1.6.2-5+deb8u5 uptodate
nginx-common:all/jessie 1.6.2-5+deb8u5 uptodate
nginx-full:amd64/jessie 1.6.2-5+deb8u5 uptodate
python-certbot-nginx:all/jessie-backports 0.10.2-1~bpo8+1 uptodate

Thank your for your help,

Ph. Gras


More information about the nginx mailing list