Ghost with Apache and HTTPS :: Martin Schenck — schemar blogs
When you set up a ghost blog with an Apache HTTP server as reverse proxy and enable SSL, you will get an error that the page cannot be loaded. In short, the fix is to add a header that specifies the incoming protocol at the reverse proxy to be https: RequestHeader set X-Forwarded-Proto "https"
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName blog.example.com ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLCertificateFile /etc/letsencrypt/live/blog.example.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/blog.example.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.
Ghost with Apache and HTTPS :: Martin Schenck — schemar blogs
When you set up a ghost blog with an Apache HTTP server as reverse proxy and enable SSL, you will get an error that the page cannot be loaded. In short, the fix is to add a header that specifies the incoming protocol at the reverse proxy to be https: RequestHeader set X-Forwarded-Proto "https" <IfModule mod_ssl.c> <VirtualHost *:443> ServerName blog.example.com ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLCertificateFile /etc/letsencrypt/live/blog.example.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/blog.example.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.
https://blog.schenck.online/posts/ghost-with-apache-and-https/