mirror of
https://github.com/luzifer-ansible/nginx-letsencrypt.git
synced 2024-11-08 13:20:01 +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([]) %}
|
||||
|
||||
location {{ location.path }} {
|
||||
{% for line in location.location_lines %}
|
||||
{% for line in location.location_lines | default([]) %}
|
||||
{{ line }}
|
||||
{% endfor %}
|
||||
{% if location.target is defined %}
|
||||
|
|
Loading…
Reference in a new issue