ansible/roles/mete/defaults/main.yml

24 lines
615 B
YAML
Raw Permalink Normal View History

2021-02-16 17:38:59 -06:00
---
mete_domain: kasse.z1.ccchb.de
mete_nginx_domains:
- kasse.z1.ccchb.de
- kasse.zweigstelle.space
mete_app_dir: /var/www/kiosk.z1.ccchb.de/mete
mete_app_url: "http://127.0.0.1:3000/"
mete_nginx_config: |
listen [::]:443 ssl http2;
listen 443 ssl http2;
{% for domain in mete_nginx_domains %}
server_name {{ domain }};
{% endfor %}
ssl_certificate /etc/letsencrypt/live/{{ mete_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ mete_domain }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/{{ mete_domain }}/chain.pem;
include snippets/certbot.conf;
...