You are not logged in.

#1 2014-01-29 06:20:22

duke11235
Member
Registered: 2009-10-09
Posts: 221

Style.css Not Found Ghost

I setup multiple ghost instances using nginx's virtual hosts file, and initially it worked wonderfully. Now, now matter what I do, firefox reports that style.css is 404 not found for the lector theme. It used to load wonderfully, and different themes work, so I tried uploading a new version of the theme and that didn't resolve the issue. I get a 404 ONLY with style.css and this theme.

It's currently running at electronomy.net

Here are the things I tried:
Restarting Ghost and Nginx
Checked permissions on the files and the permission of the ghost instance(all are www-data)
Switching to a different theme and then cycling back(default theme works, other custom themes work, lector still doesn't)

What confuses me are that other css files that are listed above and below in the html and are in the same directory are seen and run flawlessly, while style.css does not

Here are the relevant config files:

supervisor launch script:
https://gist.github.com/anonymous/8682815

ghost.js
https://gist.github.com/anonymous/8682827

ls -lh of css directory

drwxr-xr-x 3 www-data www-data 4.0K Jan 26 19:02 casper
drwxr-xr-x 4 www-data www-data 4.0K Jan 26 23:39 ghostion
drwxr-xr-x 4 www-data www-data 4.0K Jan 29 00:50 lector
-rw-r--r-- 1 www-data www-data 134K Jan 29 00:50 this.zip
drwxr-xr-x 4 www-data www-data 4.0K Jan 27 13:56 weirdness

*weirdness is the weird theme, this.zip is the theme download from the source, and lector is a freshly unzipped theme. weirdness is currently selected and running

style.css
https://gist.github.com/anonymous/8682760

sites-available
https://gist.github.com/anonymous/8682779

nginx.conf
https://gist.github.com/anonymous/8682796

I'm posting this here because I've run out of ideas. I have no idea what's wrong. I'm relatively new to web management, and I've never encountered anything like this before. I'm sure it's something stupid, but I can't see it and it's driving me nuts. Thank You.

Last edited by duke11235 (2014-01-29 06:29:15)

Offline

Board footer

Powered by FluxBB