network/firewall_rules.nft - prevent printing for-loop newline
This commit is contained in:
parent
f1cc7be542
commit
20fe7f5b99
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
table inet filter {
|
||||
chain input {
|
||||
tcp dport 22 accept
|
||||
{% for port in ALLOWED_PORTS %}
|
||||
{%- for port in ALLOWED_PORTS %}
|
||||
tcp dport {{ port }} accept
|
||||
{% endfor %}
|
||||
{%- endfor %}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue