I’ve tried to install Ghost last night on one of my machines. Except for the part where it won’t detect Nginx because I have it built, not installed (so dpkg won’t return anything) everything went just fine.
After configuration of Nginx, the website is accessible but won’t load any local assets for some reason, throwing 404 on them, so the website is not styled and throws JavaScript errors. But routing works because I can click and read the default articles.
Then I’ve started another machine, installed Nginx there through aptitude, went through the same setup process and Ghost seem to work just fine there. Yet the only difference I could find is the absence of Nginx .conf file in system/files and the fact that my Nginx configuration is a bit different from the template (but includes everything from the template based on the config generated on the other machine.
There were no failures in the installation process. The only difference was the Nginx configuration but that is something I wouldn’t expect to have an effect considering the main config is the same.
I’ve searched the forums but while people had this issue before, it has been with older version and I couldn’t find a solution there or in documentation.
This is causing the problem. When removed, the page works. When returned, it crashes again. So, maybe it’s going to save the time to someone else in the future.