Server/syncthing: bind to localhost
This commit is contained in:
parent
cd802ab3a6
commit
e15aa9ba44
1 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
enable = true;
|
||||
key = config.age.secrets.syncthingKey.path;
|
||||
cert = config.age.secrets.syncthingCert.path;
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
guiAddress = "127.0.0.1:8384";
|
||||
settings.folders = {
|
||||
"passwords" = {
|
||||
path = "${config.services.syncthing.dataDir}/passwords";
|
||||
|
|
@ -53,7 +53,9 @@
|
|||
hostName = "sync.everest.tailscale";
|
||||
extraConfig = ''
|
||||
import tailscale
|
||||
reverse_proxy localhost:8384
|
||||
reverse_proxy localhost:8384 {
|
||||
header_up Host {upstream_hostport}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue