conflicting rules

shiz nginx-forum at forum.nginx.org
Thu Oct 5 18:50:48 UTC 2017


yes of course

I've reordered them too:


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

  location ~* ^.+\.(css|js)$|^/(css|Scripts|uploads)/ {
    expires 50d;
    access_log off;
    log_not_found off;
    add_header Cache-Control "public";
  }


nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
service nginx reload

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276715,276720#msg-276720



More information about the nginx mailing list