From 64ff3f3cd9dcee61fa40a52728860cf81479b3ab Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 21 Feb 2024 04:54:45 -0500 Subject: see if enabling ipv6 for headscale helps --- modules/headscale/templates/config.yaml | 1 + modules/tozt/files/nginx/headscale-tls.conf | 1 + modules/tozt/files/nginx/headscale.conf | 1 + 3 files changed, 3 insertions(+) diff --git a/modules/headscale/templates/config.yaml b/modules/headscale/templates/config.yaml index 09f6824..d37eb3b 100644 --- a/modules/headscale/templates/config.yaml +++ b/modules/headscale/templates/config.yaml @@ -5,6 +5,7 @@ private_key_path: <%= @data_dir %>/private.key noise: private_key_path: <%= @data_dir %>/noise_private.key ip_prefixes: + - fd7a:115c:a1e0::/48 - 100.64.0.0/10 disable_check_updates: true db_type: sqlite3 diff --git a/modules/tozt/files/nginx/headscale-tls.conf b/modules/tozt/files/nginx/headscale-tls.conf index 392264d..357c38b 100644 --- a/modules/tozt/files/nginx/headscale-tls.conf +++ b/modules/tozt/files/nginx/headscale-tls.conf @@ -6,6 +6,7 @@ map $http_upgrade $connection_upgrade { server { listen 443 ssl http2; + listen [::]:443 ssl http2; server_name headscale.tozt.net; access_log /var/log/nginx/headscale.access.log; diff --git a/modules/tozt/files/nginx/headscale.conf b/modules/tozt/files/nginx/headscale.conf index 830a95c..60f6700 100644 --- a/modules/tozt/files/nginx/headscale.conf +++ b/modules/tozt/files/nginx/headscale.conf @@ -1,5 +1,6 @@ server { listen 80; + listen [::]:80; server_name headscale.tozt.net; access_log /var/log/nginx/headscale.access.log; -- cgit v1.2.3-54-g00ecf