diff options
author | binary <me@rgoncalves.se> | 2021-01-23 12:30:00 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-23 12:30:00 +0100 |
commit | 03612d17ca9f16e14b4a10f48221268bf6ec7e28 (patch) | |
tree | acd027b0f602f04fb8cc54a569b74b3fa8f31b33 | |
parent | 92a8f042b108bc5a2d936307ce7b05143067616e (diff) | |
download | infrastructure-03612d17ca9f16e14b4a10f48221268bf6ec7e28.tar.gz |
Add acme support
-rw-r--r-- | roles/httpd/templates/httpd.conf.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
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 %} |