mirror of https://dev.ccchb.de/ccchb/ansible.git
24 lines
615 B
YAML
24 lines
615 B
YAML
|
---
|
||
|
|
||
|
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;
|
||
|
|
||
|
...
|