nginx/site: Add support for self signed certs

This commit is contained in:
Timo Makinen 2020-08-27 13:45:19 +03:00
parent e672015a1f
commit f14bb25ade

View file

@ -26,6 +26,7 @@
group: "{{ ansible_wheel }}"
with_first_found:
- "/srv/letsencrypt/live/{{ site }}/privkey.pem"
- "/srv/ca/private/{{ site }}.key"
- "/srv/ca/private/{{ inventory_hostname }}.key"
notify: restart nginx
@ -38,5 +39,6 @@
group: "{{ ansible_wheel }}"
with_first_found:
- "/srv/letsencrypt/live/{{ site }}/fullchain.pem"
- "/srv/ca/certs/{{ site }}.crt"
- "/srv/ca/certs/{{ inventory_hostname }}.crt"
notify: restart nginx