Can't change static files on ghost

November 17, 2016 287 views
Ghost Nginx Ubuntu 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?

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.

  • Hi... thankyou for your answer... the error was mine... static files were changing... but i could not see it...

    Thanks for the guide :D

Have another answer? Share your knowledge.