diff options
author | Gene Wood <gene_wood@cementhorizon.com> | 2021-04-03 05:47:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 05:47:11 +0300 |
commit | 2a85a27dedf4ba916ff8c44edf35505d31952164 (patch) | |
tree | 17acf255d5d306e10950d397c6f93683dbe0c288 | |
parent | 00e63c029d1f07d849d1deb866b048160cc5f34a (diff) | |
parent | 912ec680cdd49711e288bb9202a76afeb04cbd72 (diff) |
Merge pull request #130 from mozilla/apache_acme_exlude
Exclude ACME challenges from being redirected
-rw-r--r-- | src/templates/partials/apache.hbs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/templates/partials/apache.hbs b/src/templates/partials/apache.hbs index f49e3a4..52a9299 100644 --- a/src/templates/partials/apache.hbs +++ b/src/templates/partials/apache.hbs @@ -5,6 +5,7 @@ {{#if form.hsts}} <VirtualHost *:80> RewriteEngine On + RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/ RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] </VirtualHost> |