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