conditional access_log

Marcos Neves marcos.neves at gmail.com
Thu Jul 3 15:52:26 MSD 2008


How can I disable log to access_log based on a runtime condition?
Example that does not works:

        if ($http_user_agent ~* httperf) {
          access_log off;
        }

thanks in advance.





More information about the nginx mailing list