ansible-nginx/vars/main.yml

49 lines
995 B
YAML
Raw Normal View History

2015-10-08 23:21:40 +07:00
nginx_upstream_server_params:
- key: 'weight'
default: 1
- key: 'max_fails'
default: 1
- key: 'fail_timeout'
default: '10s'
- key: 'backup'
is_bool: true
- key: 'down'
is_bool: true
default: false
- key: 'route'
default: 'configuration_error'
- key: 'slow_start'
default: 0
2015-10-09 22:54:07 +07:00
# Nginx Plus only
# - key: 'max_conns'
# default: 0
# min_version: '1.5.9'
# - key: 'resolve'
# is_bool: true
# min_version: '1.5.12'
nginx_dirs:
2016-11-25 17:33:20 +07:00
- dir: "{{ nginx_htpasswd_dir }}"
mode: "0750"
owner: "{{ nginx_user }}"
- dir: "{{ nginx_ssl_dir }}"
mode: "0750"
owner: "root"
- dir: "{{ nginx_helper_dir }}"
mode: "0755"
owner: "root"
nginx_templates_no_dir:
- '_backuppc'
- '_nagios3'
- '_owncloud'
- '_proxy'
nginx_servers_default_headers:
'X-Frame-Options': 'DENY always'
'X-Content-Type-Options': 'nosniff always'
2017-02-09 18:03:14 +07:00
'X-XSS-Protection': '1; mode=block'
2016-08-11 16:30:26 +07:00
nginx_upstream_php56: 'php56'
nginx_upstream_php70: 'php70'