Fix whitespace in wireguard config template
This commit is contained in:
parent
539c6ef739
commit
42b16c8ac5
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue