Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: access log ONLY for a specific agent string???

$
0
0
Got it working!

Was a location block problem.

I deleted the location / block

and move this part
if ($crawler = 'yes') {
access_log /var/log/bots.log;
access_log on;

to my fastcgi processing block

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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