Skip to content

Commit 47542ce

Browse files
author
Florian Schaal
committed
Add NE-Flag to rewrite_to_https
1 parent c48b70f commit 47542ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/conf/vhost.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
RewriteCond %{HTTPS} off
475475
<tmpl_if name='apache_version' op='<' value='2.4' format='version'>RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
476476
</tmpl_if>
477-
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
477+
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
478478
</tmpl_if>
479479
</tmpl_if>
480480
</tmpl_if>

0 commit comments

Comments
 (0)