From 03612d17ca9f16e14b4a10f48221268bf6ec7e28 Mon Sep 17 00:00:00 2001
From: binary <me@rgoncalves.se>
Date: Sat, 23 Jan 2021 12:30:00 +0100
Subject: Add acme support

---
 roles/httpd/templates/httpd.conf.j2 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/roles/httpd/templates/httpd.conf.j2 b/roles/httpd/templates/httpd.conf.j2
index 45b46c3..4839cd0 100644
--- a/roles/httpd/templates/httpd.conf.j2
+++ b/roles/httpd/templates/httpd.conf.j2
@@ -12,6 +12,11 @@ types {
 	image/png       png
 }
 
+location "/.well-known/acme-challenge/*" {
+	root "/acme"
+	request strip 2
+}
+
 {% for file in configurations.files %}
 include "{{ file.path }}"
 {% endfor %}
-- 
cgit v1.2.3