diff --git a/templates/Fedora/34/etc/httpd/conf.d/vhost.conf b/templates/Fedora/34/etc/httpd/conf.d/vhost.conf index c098409..ca7473a 100644 --- a/templates/Fedora/34/etc/httpd/conf.d/vhost.conf +++ b/templates/Fedora/34/etc/httpd/conf.d/vhost.conf @@ -28,7 +28,7 @@ MDStoreDir md ServerAdmin webmaster@{{ item.fqdn }} DocumentRoot /srv/http/{{ item.fqdn }} {% if item.redirect is defined %} - RedirectMatch "^.*$" {{ item.redirect }} + RedirectMatch "^(?!/\.well-known/).*" {{ item.redirect }} {% endif %} @@ -59,7 +59,7 @@ MDomain {{ item.fqdn }} ProxyTimeout 300 {% endif %} {% if item.redirect is defined %} - RedirectMatch "^.*$" {{ item.redirect }} + RedirectMatch "^(?!/\.well-known/).*" {{ item.redirect }} {% endif %} Require all denied