summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-19 21:54:46 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-19 21:54:46 +0200
commit56314cf0b047a0879a2fdbc75d20c8573183e3b5 (patch)
tree23051f789ef45bb1c81b3ed84b7b82a6d468cbb4
parent22d039b11701c46422d97b550494a47730080d0b (diff)
fix avoid double slash in redirect URL
-rw-r--r--apache2/conf-available/local-tls.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/apache2/conf-available/local-tls.conf b/apache2/conf-available/local-tls.conf
index 53f777b..528d266 100644
--- a/apache2/conf-available/local-tls.conf
+++ b/apache2/conf-available/local-tls.conf
@@ -16,7 +16,7 @@
<IfDefine _TLSHOST>
<If "%{HTTPS} != 'on'">
- RedirectMatch permanent ^(?!/.well-known/)(.*) https://${_HOST}/$1
+ RedirectMatch permanent ^(?!/.well-known/)(.*) https://${_HOST}$1
</If>
<IfModule mod_gnutls.c>