Question

How to serve a static file via Ghost?

Hi!

I’m trying to install Onesignal SDK on my Ghost blog.

I need to put three files at the top-level folder and make them available via Internet. How can I do it?

Thanks.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Add this to your nginx configuration file location /public/images { root /path/to/public/image; }

This blog article did the trick for me, working perfectly. https://fayimora.com/hosting-static-files-with-ghost/