# Disable logging for common files location ~ ^/(favicon\.ico|robots\.txt)$ { access_log off; log_not_found off; try_files $uri =404; }