Commit 58521a94 authored by Stefan Mielke's avatar Stefan Mielke
Browse files

httpd: change redirect status code to 301 when using forceSSL

parent b85e87fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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