summaryrefslogtreecommitdiff
path: root/playbooks/roles/outbound/templates/headscale/config
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/outbound/templates/headscale/config')
-rw-r--r--playbooks/roles/outbound/templates/headscale/config/config.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/playbooks/roles/outbound/templates/headscale/config/config.yaml b/playbooks/roles/outbound/templates/headscale/config/config.yaml
index 54657b2..078058e 100644
--- a/playbooks/roles/outbound/templates/headscale/config/config.yaml
+++ b/playbooks/roles/outbound/templates/headscale/config/config.yaml
@@ -7,7 +7,7 @@ listen_addr: '{{ headscale_listen_addr }}'
# to keep this endpoint private to your internal
# network
#
-metrics_listen_addr: 127.0.0.1:9090
+metrics_listen_addr: '{{ headscale_metrics_listen_addr }}'
# The Noise section includes specific configuration for the
# TS2021 Noise protocol
@@ -122,9 +122,7 @@ dns:
base_domain: "{{ headscale_base_domain }}"
search_domains: []
nameservers:
- global:
- - {{ headscale_dns_for_connected_clients_1 }}
- - {{ headscale_dns_for_connected_clients_2 }}
+ global: {{ headscale_dns_for_connected_clients | tojson }}
split:
{% for user, m in mesh.items() %}
{% if "split_vpn_dns_to" in m %}