Can't change static files on ghost

Posted November 17, 2016 2.7k views
NginxGhostUbuntu 16.04

When I change a static file (handlebars or css) from the digitalocean console in my ghost blog… and I restart the server, ir does not change… what can I do?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

A lot of stuff is baked in with Ghost and by default you cannot serve static files from your disk. This can be easily modified by following this guide which will let you specify a location for serving static files. I’d recommend modifying your theme to use the static directory for assets you intend to change often.