This problem comes up often, and the solution is usually to turn off access log for that location only; something like the following is very efficient:<br>...<br>server {<br> ...<br> location = /health.html {<br> access_log off;<br>
}<br> ...<br>}<br><br><div class="gmail_quote">On Tue, Dec 2, 2008 at 10:32 AM, Yanni Mac <span dir="ltr"><<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a load balancer in front of nginx that performs health checks<br>
every 2 seconds by requesting a html file from nginx. This is filling<br>
up my access log. Can nginx be configured so that it does not log<br>
requests from a certain IP. Thanks in advance!<br>
<font color="#888888">--<br>
Posted via <a href="http://www.ruby-forum.com/" target="_blank">http://www.ruby-forum.com/</a>.<br>
<br>
</font></blockquote></div><br>