Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Setting up SSL https on a grav site

Started by Muut Archive 10 years ago · 3 replies · 839 views
10 years ago

In the Grav docs under the system config it says:

"force_ssl: If enabled, Grav forces to be accessed via HTTPS (NOTE: Not an ideal solution). Can be true or false."

Is there any further information on this? why is this not an ideal solution? what is a better solution? This solution appears to work - but does it have implications for SEO or other issues?

many thanks

10 years ago

The ideal solution is to enforce HTTPS through the server, via .htaccess in the case of Apache. Setting it through the server is more universally applicable, and can conflict with the force_ssl setting.

10 years ago

Thanks OleVik - appreciate the response :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago