From dac5713c7bebf72309ab17ac1e39c5054aa7604b Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 5 Jan 2025 10:24:40 +0300 Subject: [PATCH] Syncthing: Fix ipv6. --- config/Syncthing.nix | 3 ++- home/file/ssh/config | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/Syncthing.nix b/config/Syncthing.nix index f1b8e3f..b4b2fce 100644 --- a/config/Syncthing.nix +++ b/config/Syncthing.nix @@ -19,7 +19,7 @@ in services.nginx.enable = true; services.nginx.virtualHosts."sync.local".extraConfig = '' location / { - allow [::1]; + allow ::1; deny all; proxy_pass http://[::1]:8384; } @@ -32,6 +32,7 @@ in user group ; + guiAddress = "[::1]:8384"; openDefaultPorts = false; systemService = true; settings = diff --git a/home/file/ssh/config b/home/file/ssh/config index 1495624..5c89324 100644 --- a/home/file/ssh/config +++ b/home/file/ssh/config @@ -19,7 +19,7 @@ Host fmpmaven Port 22 Host home - HostName [fd09:8d46:b26:0:8079:82ff:fe1a:916a] + HostName fd09:8d46:b26:0:8079:82ff:fe1a:916a User root Port 22143 @@ -34,7 +34,7 @@ Host max Port 22143 Host nixbuilder - HostName [fd09:8d46:b26:0:8079:82ff:fe1a:916a] + HostName fd09:8d46:b26:0:8079:82ff:fe1a:916a User nixbuilder Port 22143