Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

No CSS and JS files after improved nginx.conf

Started by Muut Archive 10 years ago · 3 replies · 665 views
10 years ago

I just did a fresh install on my Vultr server and used the improved nginx.conf and mime.type files. However, only html files are now loaded. For CSS and JS files the server gives a 404 error. What went wrong? you can see for yourself at www.munamu.org

10 years ago

nginx.conf was last updated 3 months ago in the repo. Restoring the old one you used fixes the problem, to make sure the problem is caused by the new conf?

10 years ago

Ok you were right. It has nothing to do with nginx.conf but rather with Dropbox. I set the root html folder to ~/Dropbox/grav and that is why it is not working. Any idea why that is? I redownloaded grav into a different folder and that seems to be working without any problems.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2954 9 years ago
Archive · by Muut Archive, 9 years ago
3 1120 9 years ago