fix syntax if custom option is an 'if' expression
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c1d97f9bbc
commit
72f9430be4
@ -40,7 +40,7 @@ server {
|
||||
{% if server.custom_options is defined and server.custom_options %}
|
||||
|
||||
{% for inline_option in server.custom_options %}
|
||||
{{ inline_option }};
|
||||
{{ inline_option }}{{ "" if inline_option.startswith("if ") else ";" }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user