Skip to content
Snippets Groups Projects
Commit a499550b authored by François Grand's avatar François Grand
Browse files

fix: HTTP not redirected to HTTPS

refs #587
parent f48601fb
No related branches found
No related tags found
2 merge requests!225Release v4.17.0,!201Resolve "Ajouter une redirection vers https pour les adresses http"
Pipeline #140171 passed
<IfModule mod_rewrite.c>
# SSL Redirect
# enable Rewrite capabilities
RewriteEngine On
# check the connection is not already HTTPS
RewriteCond %{HTTPS} off
# rewrite URL with https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
<filesMatch "\.json$">
FileETag None
<ifModule mod_headers.c>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment