In my 0.x Ghost blog, I had a directory called static at /var/www/static. In it I have several documents that I link to on a ghost page. I upgraded to the 1.x version by creating a new server and installing a new version of Ghost. I imported all my information and copied over the files in the static directory. Now my new version of Ghost gives me a 404 when I try a link to the static documents in the static directory.
I added
location /static/ {
alias /var/www/static;
}
to the ghost/system/blogname.conf file, restarted ghost and nginx but that didn’t fix the problem. I also tried:
location /files {
root /var/www/static;
}
but still no go.
What am I missing? Is there a different file I need to modify?