xstation nginx-forum at
Fri Dec 16 05:57:10 UTC 2016

eneted this in  the conf file under http

SetEnvIfNoCase User-Agent "^Baiduspider" block_bot
Order Allow,Deny
Allow from All
Deny from env=block_bot

but on restart got a error message

Job for nginx.service failed. See 'systemctl status nginx.service' and
'journalctl -xn' for details.
root at mail:~#

Posted at Nginx Forum:,271581,271581#msg-271581

More information about the nginx mailing list