Code

Force SSL On Grav

  1. Force SSL setting in system.yaml
  2. Edit .htaccess. Add the following lines after RewriteEngine On
    1
    2
    RewriteCond %{HTTP:X-Forwarded-Proto} https
    RewriteRule .* - [E=HTTPS:on]
#grav #https #ssl