Hello,
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 ~* ^.+\.(css|js)$|^/(css|Scripts|uploads)/ {
expires -1;
access_log off;
log_not_found off;
}
location ~* ^/Scripts/awstats_misc_tracker.js {
access_log on;
}
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,276715,276715#msg-276715
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx