diff --git a/files/letsencrypt.conf b/files/letsencrypt.conf new file mode 100644 index 0000000..a99dbdc --- /dev/null +++ b/files/letsencrypt.conf @@ -0,0 +1,7 @@ +Alias /.well-known/acme-challenge/ "/var/lib/dehydrated/acme-challenges/" + + + AllowOverride None + Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec + Require method GET POST OPTIONS + diff --git a/tasks/configuration.yml b/tasks/configuration.yml index 698ce7b..5dc4873 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -15,4 +15,5 @@ dest: "/etc/apache2/conf-available/{{ item }}" loop: - add-headers.conf + - letsencrypt.conf - ssl.conf