location = /healthcheckfile { access_log off; } should do the trick. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,177477,177479#msg-177479