summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseney300 <Arseney300@gmail.com>2026-03-02 07:55:29 +0700
committerArseney300 <Arseney300@gmail.com>2026-03-02 07:55:29 +0700
commita62b0ed03151014b0cd197bb787fdf430cc3e76c (patch)
treef5ed19584175f0d15d7022449405e19a26f794f8
parent2910549113a6c1372be17b97e5e9104bfee66d3e (diff)
Switch Ghost URL config from http to https
SSL is now in place, so Ghost should use https:// for its URL and admin URL. Fixes the membership portal failing to load due to mixed content / SSL protocol errors on API calls. Note: DOMAIN in stack.env must be set to the bare domain (e.g. swave.lol) without a port number. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-rw-r--r--ghost/compose.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/ghost/compose.yml b/ghost/compose.yml
index 2dcc82f..a1dfe72 100644
--- a/ghost/compose.yml
+++ b/ghost/compose.yml
@@ -20,10 +20,8 @@ services:
stack.env
environment:
NODE_ENV: production
- url: http://${DOMAIN:?DOMAIN environment variable is required}
- #url: https://${DOMAIN:?DOMAIN environment variable is required} ATM i have not SSL for it
- #admin__url: ${ADMIN_DOMAIN:+https://${ADMIN_DOMAIN}}
- admin__url: ${ADMIN_DOMAIN:+http://${ADMIN_DOMAIN}}
+ url: https://${DOMAIN:?DOMAIN environment variable is required}
+ admin__url: ${ADMIN_DOMAIN:+https://${ADMIN_DOMAIN}}
database__client: mysql
database__connection__host: ghost-db
database__connection__user: ${DATABASE_USER:-ghost}