--- # These need to be strings to be parsed properly nginx_conf_dir_mode: '0770' nginx_conf_file_mode: '0640' nginx_conf_owner: root nginx_conf_group: adm nginx_conf_dir: "/etc/nginx" # The default server listens on port 80 normally, you can change that if you # like nginx_default_listen: | listen 80; listen [::]:80; nginx_includes: acl: | # RFC 1918 addresses allow 172.16.0.0/12; allow 192.168.0.0/16; 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; } } nginx_robots: - name: allow robots_txt: | User-agent: CuteStat Disallow: / User-agent: * Allow: / - name: disallow robots_txt: | User-agent: CuteStat Disallow: / User-agent: * Disallow: / nginx_conf: | worker_processes auto; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; gzip on; server_tokens off; server { {{nginx_default_listen}} server_name localhost; include acme-challenge; location / { root /usr/share/nginx/html; index index.html index.htm; } location /stub_status { stub_status; access_log off; allow 127.0.0.1; deny all; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } } include conf.d/*.conf; }