How to serve a static file via Ghost?

Posted April 22, 2016 7.9k views


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?


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
2 answers

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.