copr-dist-git: add exception for acme challenge, fix indenting

This commit is contained in:
clime 2018-06-29 11:03:44 +02:00
parent 04f75f2423
commit 0adb8eaabc

View file

@ -1,4 +1,6 @@
<VirtualHost *:80>
RewriteEngine on
RewriteRule ^/\.well-known/(.*) /srv/web/acme-challenge/.well-known/$1 [L]
RewriteRule "^/?(.*)" "https://%{HTTP_HOST}/$1" [L,R=301,NE]
</VirtualHost>