aboutsummaryrefslogtreecommitdiff
path: root/defaults/main.yml
blob: 578e5c81ca821a7193ae58c1b089661f88735fbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
  }


# If "True" it will template out {{ansible_hostname}}/nginx/nginx.conf instead
# of nginx/nginx.conf
nginx_custom_template: False