Skip to content

Instantly share code, notes, and snippets.

@kodopik
Last active August 29, 2015 14:08
Show Gist options
  • Save kodopik/af9fded1578a7ed6bf09 to your computer and use it in GitHub Desktop.
Save kodopik/af9fded1578a7ed6bf09 to your computer and use it in GitHub Desktop.
Bittorrent Sync config sample
{
"device_name" : ""
,"listening_port" : 0
,"storage_path" : ""
,"pid_file" : ""
,"use_upnp" : false
,"download_limit" : 0
,"upload_limit" : 0
,"check_for_updates" : true
,"disk_low_priority" : true
,"sync_trash_ttl" : 7
,"folder_rescan_interval" : 3600
/*
,"proxy_type" : "socks4" // "socks4", "socks5", "http_connect"
,"proxy_addr" : "192.168.1.2"
,"proxy_port" : 1080
,"proxy_auth" : false
,"proxy_username" : ""
,"proxy_password" : ""
*/
,"webui" :
{
"listen" : "0.0.0.0:8888" // remove field to disable WebUI
/*
,"login" : ""
//,"password" : ""
,"password_hash" : "" // password hash in crypt(3) format
,"allow_empty_password" : false // Defaults to true
*/
/*
,"force_https" : true // disable http
,"ssl_certificate" : ""
,"ssl_private_key" : ""
*/
/*
,"directory_root" : "" // Default value is "/"
,"dir_whitelist" : // Relative to directory_root
[
""
,""
]
*/
}
// !!! If you set shared folders in config file WebUI will be DISABLED !!!
,"shared_folders" :
[
{
"secret" : ""
,"dir" : ""
,"use_relay_server" : true
,"use_tracker" : true
,"use_dht" : true
,"search_lan" : true
,"use_sync_trash" : true
//,"overwrite_changes" : false // Restore modified files to original version, ONLY for Read-Only folders
,"known_hosts" : // "host:port"
[
""
,""
]
}
/*
,{
"secret" : ""
,"dir" : ""
,"use_relay_server" : true
,"use_tracker" : true
,"use_dht" : true
,"search_lan" : true
,"use_sync_trash" : true
}
*/
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment