Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static files 404 error #92

Open
pedrodevoto opened this issue Feb 8, 2017 · 1 comment
Open

Static files 404 error #92

pedrodevoto opened this issue Feb 8, 2017 · 1 comment

Comments

@pedrodevoto
Copy link

I noticed several times that when creating a Ubuntu, nginx, PHP 7, Magento 2 (2.1.4) box, requests to static files containing the version number in the URL are not being successful. Found this fix, but don't know if it is appropriate.

@MPietrukowski
Copy link

I have similar issue with magento 1, centos, nginx, php5 box. my js files ending on version number (jquery.easing.1.3.js) are not found (404). I've dig around in nginx config and this issue has something to do with
#Rewrite for versioned CSS+JS via filemtime
if I comment below rewrite all files load successfully
#rewrite ^(.+).(\d+).(css|js)$ $1.$3 last;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants