diff --git a/roles/libravatar/templates/httpd/libravatar.conf b/roles/libravatar/templates/httpd/libravatar.conf index 1d5ec0c2b8..e3ed07d2c1 100644 --- a/roles/libravatar/templates/httpd/libravatar.conf +++ b/roles/libravatar/templates/httpd/libravatar.conf @@ -1,11 +1,11 @@ WSGISocketPrefix /var/run/wsgi -Alias /robots.txt /var/www/html/robots.txt +RewriteEngine on ServerName {{ inventory_hostname }} - RewriteRule ^/\.well-known/(.*) /srv/.well-known/$1 [L] - + RewriteRule ^/\.well-known/(.*) /var/www/html/.well-known/$1 [L] + Require all granted