此部分將講解如何設定 ghost 擁有自己的 domain 並且透過 cloudflare 讓全站 HTTPS,cloudflare 則不多說明如何設定,可參考官方說明依步驟即可完成。 設定 Custom Domain 若一開始走 ghost-cli 安裝時就有設定自己的 domain,則可跳過此步驟。 先至 /var/www/ghost/config.production.json 內,將 url 改為自己要的網址,並記得附上 https 前綴 protocol,例如: https://blog.hothero.org。 在 /etc/nginx/sites-available/ 中建立一個