infra-nimbus/ansible/host_vars/linux-03.ih-eu-mda1.nimbus.mainnet.yml
Jakub Sokołowski 9a3f1f8b4c
nimbus.mainnet: fix filenames for host_vars
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-15 13:24:52 +02:00

26 lines
660 B
YAML

---
era_files_domain: 'mainnet.era.nimbus.team'
era_files_path: '/data/era'
# 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")}}'
nginx_sites:
era_files:
- listen 80 default_server
- listen 443 ssl
- server_name {{ era_files_domain }}
- ssl_certificate /certs/nimbus.team/origin.crt
- ssl_certificate_key /certs/nimbus.team/origin.key
- location / {
root {{ era_files_path }};
autoindex on;
autoindex_format html;
}