As a framework, I use the nginx web server and CodeIgniter.
Static files are the correct server (.js, .css and others), but if request parameters are present, nginx passes the request to CodeIgniter.
So, it is www.example.com/js/file.jsserved, but www.example.com/js/file.js?key=valuegoes to CodeIgniter and returns 404.
How to configure nginx static files on the server, even if the request parameters are passed?
source
share