Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

nginx.conf (7 replies)

$
0
0
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@mail:~#

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>