nginx_worker_processes: 1 nginx_worker_connections: 1024 # 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 # RFC 1918 addresses are already included. Inserted directly into # nginx configuration with an `include` nginx_acl_block: "" nginx_conf_dir: "/etc/nginx" nginx_acme_challenge_block: | location /.well-known/acme-challenge { # This works for acmetool. If using letsencrypt change 'alias' to 'root' alias /var/run/acme/acme-challenge/; # alias /var/lib/acme-challenge; } # The default server listens on port 80 normally, you can change that if you # like nginx_default_listen: | listen 80; listen [::]:80; # If "True" it will template out {{ansible_hostname}}/nginx/nginx.conf instead # of nginx/nginx.conf nginx_custom_template: False