nginx/site: Add support for self signed certs
This commit is contained in:
parent
e672015a1f
commit
f14bb25ade
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue