Browse Source

Fix lesspass.com HSTS preload status error

Fixes #671
pull/674/head
Guillaume Vincent 3 years ago
parent
commit
9d7e84b27d
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      containers/webserver/httpd.conf

+ 0
- 2
containers/webserver/httpd.conf View File

@@ -226,8 +226,6 @@ Group daemon


<VirtualHost *:80> <VirtualHost *:80>
RewriteEngine On RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


RewriteCond %{HTTPS} off RewriteCond %{HTTPS} off
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]


Loading…
Cancel
Save