From 352f17a7678e506be819bb07e5c6f3f3f87cddcc Mon Sep 17 00:00:00 2001 From: clime Date: Thu, 11 Oct 2018 12:01:45 +0200 Subject: [PATCH] libravatar: fix acme-challenge rules --- roles/libravatar/templates/httpd/libravatar.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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