Syncthing: Fix ipv6.

This commit is contained in:
Dmitry Voronin 2025-01-05 10:24:40 +03:00
parent b171d2bedd
commit dac5713c7b
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 4 additions and 3 deletions

View file

@ -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 =

View file

@ -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