aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--defaults/main.yml28
1 files changed, 17 insertions, 11 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index f6382fd..462d025 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -24,19 +24,25 @@ nginx_includes:
allow 10.0.0.0/8;
allow 127.0.0.0/8;
deny all;
-
-nginx_confd:
- node_exporter.conf: |
- server {
- listen 49050;
- listen [::]:49050;
-
- location / {
- include acl;
- proxy_pass http://127.0.0.1:9100;
- }
+ acme-challenge: |
+ location /.well-known/acme-challenge {
+ # e.g.
+ # acme.sh --issue -d my-domain.com -w /var/lib/acme-challenge/
+ root /var/lib/acme-challenge;
}
+# nginx_confd:
+# node_exporter.conf: |
+# server {
+# listen 49050;
+# listen [::]:49050;
+#
+# location / {
+# include acl;
+# proxy_pass http://127.0.0.1:9100;
+# }
+# }
+
nginx_robots:
- name: allow
robots_txt: |