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.enable = true;
services.nginx.virtualHosts."sync.local".extraConfig = '' services.nginx.virtualHosts."sync.local".extraConfig = ''
location / { location / {
allow [::1]; allow ::1;
deny all; deny all;
proxy_pass http://[::1]:8384; proxy_pass http://[::1]:8384;
} }
@ -32,6 +32,7 @@ in
user user
group group
; ;
guiAddress = "[::1]:8384";
openDefaultPorts = false; openDefaultPorts = false;
systemService = true; systemService = true;
settings = settings =

View file

@ -19,7 +19,7 @@ Host fmpmaven
Port 22 Port 22
Host home Host home
HostName [fd09:8d46:b26:0:8079:82ff:fe1a:916a] HostName fd09:8d46:b26:0:8079:82ff:fe1a:916a
User root User root
Port 22143 Port 22143
@ -34,7 +34,7 @@ Host max
Port 22143 Port 22143
Host nixbuilder Host nixbuilder
HostName [fd09:8d46:b26:0:8079:82ff:fe1a:916a] HostName fd09:8d46:b26:0:8079:82ff:fe1a:916a
User nixbuilder User nixbuilder
Port 22143 Port 22143