You can achieve this quite simply with an .htaccess in the document root:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
This requires mod_rewrite for Apache, which I believe is standard with
BlueOnyx.
- Brent
On 2019-09-24 06:14, Meaulnes Legler @ MailList wrote:
hello
the Let's Encrypt feature is really cool and simple,
https://mysite.tld comes up right away.
what I'm missing is the automatic redirect from http:// to https://...
If one enters http://mysite.tld it stays in the insecure protocol
instead of changing to https://mysite.tld
how can I achieve this?
Thank you and best regards
(ツ) Meaulnes Legler
Zurich, Switzerland.
+41¦0 44 260-1660
_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx