aboutsummaryrefslogtreecommitdiffstats
path: root/roles/acme_client/files
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-03 11:41:33 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:45 -0700
commit024ae3365ffa40b5d0b117577c552587b258ca7a (patch)
treea2907f5a9018009e55b0d1690c3210844b74af30 /roles/acme_client/files
downloadsite-configs-024ae3365ffa40b5d0b117577c552587b258ca7a.zip
Initial Commit
Diffstat (limited to 'roles/acme_client/files')
-rw-r--r--roles/acme_client/files/httpd.d/acme.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/acme_client/files/httpd.d/acme.conf b/roles/acme_client/files/httpd.d/acme.conf
new file mode 100644
index 0000000..558a8bd
--- /dev/null
+++ b/roles/acme_client/files/httpd.d/acme.conf
@@ -0,0 +1,11 @@
+server "{{ acme_domain }}" {
+ listen on * port 80
+ location "/.well-known/acme-challenge/*" {
+ root "/acme"
+ request strip 2
+ }
+ location * {
+ block return 302 "https://$HTTP_HOST$REQUEST_URI"
+ }
+}
+