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.
Have spent ages on this issue - but when you are installing the blog as a subdomain on a website with the https protocol - the production json stays http WITHOUT https, i.e
production: {
url: 'http://www.mydomain.io/blog',
mail: {},
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, '/content/data/ghost.db')
},
debug: false
},
server: {
host: '127.0.0.1',
port: '1000'
}
}
I have CERTbot installed as per instructions in the this tutorial
The problem is fixed.
The code in the /blog location part was not working. When I simply duplicated the code block that was already there for my website it worked. The entire default config now looks like:
server {
listen 80;
server_name mydomain.io;
return 301 https://www.mydomain.io$request_uri;
}
server {
listen 80;
server_name www.mydomain.io;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /blog {
proxy_pass http://localhost:1000;
proxy_http_version 1.1;
proxy_set_header Update &http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
}
Did some research: Ghost experts say it is more appropriate to set the Ghost as ghost.mydomain.com for the existing website control by Ghost. Found great guidance: https://www.howtoforge.com/tutorial/ubuntu-nginx-ghost-blog/ Moreover (see the page) MariaDB is faster and lighter than mySQL, Google uses MariaDB.