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

file is not found #11

Open
VitaliyLogvin opened this issue Apr 29, 2016 · 1 comment
Open

file is not found #11

VitaliyLogvin opened this issue Apr 29, 2016 · 1 comment

Comments

@VitaliyLogvin
Copy link

VitaliyLogvin commented Apr 29, 2016

Asset generate url like /7586d9c672183689086e8fef73376c55/js/diary.js , but browser said that file is not found

@VitaliyLogvin
Copy link
Author

VitaliyLogvin commented Apr 29, 2016

I found the problem.
this section

location ~* .(js|css|png|jpg|jpeg|gif|ico)$ {
    expires 7d;
}

put before this section

location ~* "^\/[a-f0-9]{32}(\/*\.*(.*))$" {
    try_files $uri $1;
}

This prevented correct working.

Does it matter? explain please

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

1 participant