infra-nimbus/ansible/host_vars/metal-01.ih-eu-mda1.nimbus....

37 lines
904 B
YAML
Raw Normal View History

---
# Eth1 DB files hosting
eth1_db_files_domain: 'eth1-db.nimbus.team'
eth1_db_files_path: '/data/nimbus-eth1-db'
# CloudFlare Origin certificates
origin_certs:
- domain: 'nimbus.team'
crt: '{{lookup("bitwarden", "CloudFlare/nimbus.team", file="origin.crt")}}'
key: '{{lookup("bitwarden", "CloudFlare/nimbus.team", file="origin.key")}}'
# Open Ports
open_ports_list:
nginx:
- { port: '443', comment: 'Nginx' }
nginx_sites:
eth1_db:
- listen 443 ssl
- server_name {{ eth1_db_files_domain }}
- ssl_certificate /certs/nimbus.team/origin.crt
- ssl_certificate_key /certs/nimbus.team/origin.key
- location / {
root {{ eth1_db_files_path }};
autoindex on;
autoindex_format html;
}
- location = /README.md {
root /data/nimbus-eth1-db;
default_type text/plain;
add_header Content-Type text/plain;
}