Nginx ignore access logs from specific Request Method# http { ... map $request_method $loggable { HEAD 0; default 1; } ... access_log logs/access_${logdate}.log main if=$loggable; ... }