summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-21 04:54:45 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-21 04:54:45 -0500
commit64ff3f3cd9dcee61fa40a52728860cf81479b3ab (patch)
tree4b1fdccec1267ae708e509cdf2d75d82d987be9b
parent2c745777c00814334ec0f31426df4a5d0695442e (diff)
downloadpuppet-tozt-64ff3f3cd9dcee61fa40a52728860cf81479b3ab.tar.gz
puppet-tozt-64ff3f3cd9dcee61fa40a52728860cf81479b3ab.zip
see if enabling ipv6 for headscale helps
-rw-r--r--modules/headscale/templates/config.yaml1
-rw-r--r--modules/tozt/files/nginx/headscale-tls.conf1
-rw-r--r--modules/tozt/files/nginx/headscale.conf1
3 files changed, 3 insertions, 0 deletions
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;