Fix whitespace in wireguard config template

This commit is contained in:
Timotej Lazar 2023-02-06 16:58:59 +01:00
parent 539c6ef739
commit 42b16c8ac5

View file

@ -3,9 +3,7 @@
# PublicKey = {{ pubkey }}
PrivateKey = # paste private key here
Address = {{ ip }}
{%- if use_dns -%}
DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si
{%- endif %}
{% if use_dns %}DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si{% endif %}
[Peer]
Endpoint = {{ server }}:{{ port }}