httpd: change redirect status code to 301 when using forceSSL
This commit is contained in:
@@ -232,7 +232,7 @@ let
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge [NC]
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
</IfModule>
|
||||
''
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user