2022-05-14 - enforce https for post body contents in ghost running in bitnami stack


letsencrypt running fine, featured image in posts are showing, but all images are broken, because they are all having a http link.


( by the OP kevc1973, based on the post in : https://bit.ly/3Pmg2SE )

  1. stop the service
sudo /opt/bitnami/ctlscript.sh stop
  1. backup the config file
  1. edit value of url the config file, replace http with https ;
    ( tried this before but resulted in some sort of localhost redirection, since i missed the followings );

  2. enable protocol proxy pass in apache
    config file :


insert this line at the top of the config file :

RequestHeader set X-Forwarded-Proto "https"
  1. start the service
sudo /opt/bitnami/ctlscript.sh start

done ~