feat: make acme termination optional

This commit is contained in:
2022-12-25 14:36:48 +01:00
parent 89404b358d
commit 69340e47e6
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,9 @@ server{
{% if servernames %}server_name{% for s in servernames %} {{ s }}{% endfor %};{% endif %}
{% if acme %}
include acme-challenge.conf;
{% endif %}
location / {
proxy_pass http://{{ targetip }}:{{ targetport }};