Hi Community and Support Team
!
There is some line of code inside the file with the path:
site/config/config.php
To force a secure connection using the SSL certificate (https://)
For example:
<?php
return [
'ssl' => true
];
?>
I await your response and help please.
Thank you very much.
Regards!
ssl is not a valid config option, you can remove that.
To rewrite all http requests to https, you can do that in your .htaccess or (on your own server) via the server configuration file.
Something like this after RewriteEngine on:
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
1 Like
Hi @texnixe,
OK perfect. Thank you very much for the answer and help.
Iām going to do it through the file .htaccess
Regards!