evoacme: Fix nginx on deb9 for LE challenge
This commit is contained in:
parent
8ef9554746
commit
49d3118976
|
@ -1,5 +1,9 @@
|
|||
location ~ /.well-known/acme-challenge {
|
||||
{% if ansible_distribution_major_version > 8 %}
|
||||
alias {{ evoacme_acme_dir }}/;
|
||||
{% else %}
|
||||
alias {{ evoacme_acme_dir }}/.well-known/acme-challenge;
|
||||
{% endif %}
|
||||
try_files $uri =404;
|
||||
allow all;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue