Hi,

On 10/5/2017 11:25 AM, shiz wrote:
I exclude the stylesheets and javascript from the logs to alleviate them.
However I would want to make an exception for awstats.

So far the following doesn't work.  Any help?

   location ~* ^/Scripts/awstats_misc_tracker.js {
     access_log on;
   }

Use an exact match for that URL instead of a Regex, i.e.

  location = /Scripts/awstats_misc_tracker.js {
    access_log on;
  }

See also http://nginx.org/en/docs/http/ngx_http_core_module.html#location

Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/>





_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to