Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Setting up SSL https on a grav site

Started by Muut Archive 9 years ago · 3 replies · 608 views
9 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

9 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.

9 years ago

Thanks OleVik - appreciate the response :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1322 9 years ago
Archive · by Muut Archive, 9 years ago
2 917 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2922 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago