From 9d7e84b27d396a8b5b6e00cf6843c9d0f5e9dd55 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Mon, 8 Nov 2021 10:13:23 +0000 Subject: [PATCH] Fix lesspass.com HSTS preload status error Fixes #671 --- containers/webserver/httpd.conf | 2 -- 1 file changed, 2 deletions(-) diff --git a/containers/webserver/httpd.conf b/containers/webserver/httpd.conf index 2044a71..9390fe5 100644 --- a/containers/webserver/httpd.conf +++ b/containers/webserver/httpd.conf @@ -226,8 +226,6 @@ Group daemon RewriteEngine On - RewriteCond %{HTTP_HOST} !^www\. [NC] - RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteCond %{HTTPS} off RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]