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 }} # PublicKey = {{ pubkey }}
PrivateKey = # paste private key here PrivateKey = # paste private key here
Address = {{ ip }} Address = {{ ip }}
{%- if use_dns -%} {% if use_dns %}DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si{% endif %}
DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si
{%- endif %}
[Peer] [Peer]
Endpoint = {{ server }}:{{ port }} Endpoint = {{ server }}:{{ port }}