Determine wildcard cert paths and tidy nginx role

This commit is contained in:
2022-05-23 22:33:17 -04:00
parent 9a4aece442
commit 209ff57a4a
5 changed files with 31 additions and 17 deletions

View File

@@ -8,6 +8,7 @@ manage_network: false
proxy:
#production: true
dns_cloudflare:
opts: --test-cert
#email: realemail@example.com
#api_token: CLOUDFLARE_DNS01_API_TOKEN
wildcard_domains:
@@ -15,14 +16,8 @@ proxy:
servers:
- domain: "{{ bitwarden_domain }}"
proxy_pass: "http://127.0.0.1:8080"
tls:
cert: /etc/letsencrypt/live/{{ base_domain }}/fullchain.pem
key: /etc/letsencrypt/live/{{ base_domain }}/privkey.pem
- domain: "{{ gitea_domain }}"
proxy_pass: "http://127.0.0.1:3080"
tls:
cert: /etc/letsencrypt/live/{{ base_domain }}/fullchain.pem
key: /etc/letsencrypt/live/{{ base_domain }}/privkey.pem
# docker
docker_users: