vim /opt/bitnami/apache2/conf/vhosts/myapp-https-vhost.conf then insert RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME} RequestHeader set X-Forwarded-SSL expr=%{HTTPS}