Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your 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.
If you are using the Ghost one-click install image then do the following.
Edit your nginx configuration that serves your ghost blog /etc/nginx/conf.d/default.conf
Add the following inside of the server block, right after location / { ... }
location /static {
root /var/www/ghost;
}
Then goto your Ghost blog installed directory: /var/www/ghost
There create a new directory, in this case I called it “static”.
Put your files, sub-directories or anything else that you want in there.
To access them just goto: http://my-ghost-blog.com/static/file1 http://my-ghost-blog.com/static/subdir1 etc.
If you want to call it something else, just modify the location block to something other than /static and create the directory to match it.
Now my full /etc/nginx/conf.d/default.conf looks like:
server {
listen 80;
server_name my-ghost-blog.com;
client_max_body_size 10M;
location / {
proxy_pass http://localhost:2368/;
proxy_set_header Host $host;
proxy_buffering off;
}
location /static {
root /var/www/ghost;
}
}
Last but not least ensure that the directory you created and the files inside of it have the correct permissions to ensure that nginx can read them, and you’re all set.