From 461214117d8224d2f637670708bc4e38ae3b8181 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Sun, 21 May 2017 23:41:09 +0200 Subject: [PATCH] ghost: force https in urls --- ghost/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/run.sh b/ghost/run.sh index 4aa63d1..f7a5e36 100644 --- a/ghost/run.sh +++ b/ghost/run.sh @@ -2,7 +2,7 @@ cd /ghost/content mkdir apps data images themes -sed -i "s|my-ghost-blog.com|$DOMAIN|g" /ghost/config.js +sed -i "s|http://my-ghost-blog.com|https://$DOMAIN|g" /ghost/config.js if [ "$SSL" == "True" ] && ! grep -q 'urlSSL' /ghost/config.js; then sed -i "/url/a \ \ \ \ \ \ \ \ urlSSL: 'https://$DOMAIN'," /ghost/config.js