Welcome! Log In Create A New Profile

Advanced

Filtering by user-agent and get rid of "\x95\x1A\x02\x95\xD3\xAAGL "

Posted by Letoine 
Filtering by user-agent and get rid of "\x95\x1A\x02\x95\xD3\xAAGL "
January 06, 2012 02:28PM
Hello Nginx community,

I tried to filter access to my webserver with user-agent and maybe after with country flags.
Here you cand find my /etc/nginx/conf/nginx.conf - http://vpaste.net/mcKiK
And there you can find my /etc/nginx/conf/block.conf - http://vpaste.net/nQHMG
I tried to put the user-agent between parentheses or/and double quotes, it doesn't work anymore...

With these config files, when I try to restart my Nginx deamon (/etc/rc.d/nginx restart) it returns me a FAIL - http://vpaste.net/DzH1O

In fact, my access.log is polluted with (I think) attacks - http://vpaste.net/oTbl0

Maybe some answer are already in the forum but as a news user I don't know what keyword to use.
In case, I'm sorry for my english...

By advance, any help is welcome :)
Letoine
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready