Always use /var/www/acme

This commit is contained in:
nemunaire 2023-03-15 01:03:59 +01:00
parent 3d79f8b747
commit d80a92e417

View File

@ -32,10 +32,9 @@ server {
{{ unsecure_server | indent(4) }} {{ unsecure_server | indent(4) }}
{%- endif %} {%- endif %}
location /.well-known/acme-challenge { location /.well-known/acme-challenge {
root /var/www/acme;
{% if nginx_acme_challenge is defined %} {% if nginx_acme_challenge is defined %}
{{ nginx_acme_challenge }} {{ nginx_acme_challenge }}
{%- else %}
root /var/www/acme;
{% endif %} {% endif %}
} }
} }