ansible-role-nginx/defaults/main.yml

27 lines
503 B
YAML

nginx:
add_headers: []
real_ip_from:
"127.0.0.1": {}
"::1": {}
monitoring: true
php: false
force_ssl: true
snakeoil_default: false
upstreams: {}
vhosts: {}
maps: {}
resolver:
- 8.8.8.8
- 8.8.4.4
nginx_forcessl_vhost:
"https-redirect":
listen:
nossl: True
ssl: False
locations:
- match: '/.well-known/acme-challenge/'
alias: '/var/www/letsencrypt/'
- match: '/'
custom:
- return 301 https://$host$request_uri