mirror of
https://github.com/luzifer-ansible/nginx-letsencrypt.git
synced 2024-12-22 17:21:17 +00:00
Add fallback for locations without lines but target
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
781a9667e5
commit
6cd4e1d1f2
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ http {
|
||||||
{% for location in server.locations | default([]) %}
|
{% for location in server.locations | default([]) %}
|
||||||
|
|
||||||
location {{ location.path }} {
|
location {{ location.path }} {
|
||||||
{% for line in location.location_lines %}
|
{% for line in location.location_lines | default([]) %}
|
||||||
{{ line }}
|
{{ line }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if location.target is defined %}
|
{% if location.target is defined %}
|
||||||
|
|
Loading…
Reference in a new issue