aboutsummaryrefslogtreecommitdiff
path: root/src/property
diff options
context:
space:
mode:
Diffstat (limited to 'src/property')
-rw-r--r--src/property/apache.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/apache.lisp b/src/property/apache.lisp
index 757135e..683f1dd 100644
--- a/src/property/apache.lisp
+++ b/src/property/apache.lisp
@@ -137,9 +137,9 @@ restart Apache."
,@initial
"RewriteEngine On"
"RewriteRule ^/.well-known/acme-challenge.* - [L]"
+ ,@additional-config
;; redirect everything else to https
"RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L,NE]"
- ,@additional-config
"</VirtualHost>")))))
(on-change (lets-encrypt:certificate-obtained
,agree-tos ,htdocs ,domain ,@aliases)