templier-ansible/group_vars/nginx.yml

36 lines
912 B
YAML

---
glob_nginx:
contact: ynerant@crans.org
who: "Ÿnérant"
service_name: service
ssl:
# Add adm.ynerant.fr if necessary
- name: ynerant.fr
cert: /etc/letsencrypt/live/ynerant.fr/fullchain.pem
cert_key: /etc/letsencrypt/live/ynerant.fr/privkey.pem
trusted_cert: /etc/letsencrypt/live/ynerant.fr/chain.pem
servers:
- ssl: false # Replace by crans.org or adm.crans.org
default: true
server_name:
- "default"
- "_"
root: "/var/www/html"
locations:
- filter: "/"
params: []
additional_params: []
upstreams: []
auth_passwd: []
default_server:
default_ssl_server:
default_ssl_domain: ynerant.fr
real_ip_from:
- "172.16.0.0/16"
- "fd00:0:0:42::/64"
deploy_robots_file: false
glob_prometheus_nginx_exporter:
listen_addr: "{{ query('ldap', 'ip', ansible_hostname, 'adm') | ipv4 | first }}"