conflicting rules
Igal @ Lucee.org
igal at lucee.org
Thu Oct 5 19:18:52 UTC 2017
And you're sure about the CaSe, right? I notice that everything is
lowercase for you except for the Scripts directory.
On 10/5/2017 12:15 PM, shiz wrote:
> 1 - If I disable that section
>
>
> #location ~* ^.+\.(css|js)$|^/(css|Scripts|uploads)/ {
> #expires -1;
> #access_log off;
> #log_not_found off;
> #}
>
> location = /Scripts/awstats_misc_tracker.js {
> access_log on;
> }
>
> the javascript are shown in the log. /Scripts/awstats_misc_tracker.js isn't
> though.
>
> 2 - Now if also disable that section, /Scripts/awstats_misc_tracker.js is
> finally showing so something else must be conflicting
>
> #location = /Scripts/awstats_misc_tracker.js {
> #access_log on;
> #}
>
> ~:/var/log# grep awstat nginx/access.log
> xx.xx.xx.xxx - - [05/Oct/2017:12:08:31 -0700] "GET
> /Scripts/awstats_misc_tracker.js HTTP/1.0"
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276715,276721#msg-276721
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list