update
This commit is contained in:
85
.config/rslsync/rslsync.conf
Normal file
85
.config/rslsync/rslsync.conf
Normal file
@ -0,0 +1,85 @@
|
||||
{
|
||||
"device_name": "majestix",
|
||||
// "listening_port" : 0, // 0 - randomize port
|
||||
|
||||
/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in current working directory */
|
||||
"storage_path" : "/home/user/flo/.local/share/rslsync",
|
||||
|
||||
/* set location of pid file */
|
||||
"pid_file" : "/home/user/flo/.local/share/rslsync/resilio.pid",
|
||||
|
||||
/* use UPnP for port mapping */
|
||||
"use_upnp" : false,
|
||||
|
||||
/* limits in kB/s. 0 - no limit */
|
||||
"download_limit" : 0,
|
||||
"upload_limit" : 0,
|
||||
|
||||
/* proxy configuration */
|
||||
// "proxy_type" : "socks4", // Valid types: "socks4", "socks5", "http_connect". Any other value means no proxy
|
||||
// "proxy_addr" : "192.168.1.2", // IP address of proxy server.
|
||||
// "proxy_port" : 1080,
|
||||
// "proxy_auth" : false, // Use authentication for proxy. Note: only username/password for socks5 (RFC 1929) is supported, and it is not really secure
|
||||
// "proxy_username" : "user",
|
||||
// "proxy_password" : "password",
|
||||
|
||||
/* directory_root path defines where the WebUI Folder browser starts (linux only). Default value is / */
|
||||
"directory_root" : "/home/",
|
||||
|
||||
/* directory_root_policy defines how directory_root is used (linux only).
|
||||
Valid values are:
|
||||
"all" - accepts directory_root and its subdirectories for 'getdir' and 'adddir' actions
|
||||
"belowroot" - accepts directory_root's subdirectories for 'getdir' and 'adddir' actions,
|
||||
but denies attempts to use 'adddir' to create directories directly within directory_root
|
||||
Default value is "all". */
|
||||
// "directory_root_policy" : "all",
|
||||
|
||||
"webui" :
|
||||
{
|
||||
"listen" : "0.0.0.0:8888" // remove field to disable WebUI
|
||||
|
||||
/* preset credentials. Use password or password_hash */
|
||||
,"login" : "flo"
|
||||
,"password" : "WarthoG!#RSL" // (not recommended, better use 'password_hash_unified')
|
||||
// ,"password_hash" : "<crypt() 3 format password hash>" // (not recommended) Works on *nix only!
|
||||
// Use either 'password_hash' or 'password_hash_unified' (recommended), but not both of them!
|
||||
// ,"password_hash_unified" : "<SHA2-256 hash in HEX format>" // Works on all platforms.
|
||||
// ,"password_hash_salt_unified" : "<any text>" // Salt for unified password's hash. Works on all platforms.
|
||||
// ,"allow_empty_password" : false // Defaults to true
|
||||
/* ssl configuration */
|
||||
// ,"force_https" : true // disable http
|
||||
// ,"ssl_certificate" : "/home/user/flo/.config/rslsync/server.crt"
|
||||
// ,"ssl_private_key" : "/home/user/flo/.config/rslsync/server.key"
|
||||
|
||||
/* dir_whitelist defines which directories can be shown to user or have folders added (linux only)
|
||||
relative paths are relative to directory_root setting */
|
||||
// ,"dir_whitelist" : [ "/home/user/MySharedFolders/personal", "work" ]
|
||||
}
|
||||
|
||||
/* !!! if you set shared folders in config file WebUI will be DISABLED !!!
|
||||
shared directories specified in config file override the folders previously added from WebUI. */
|
||||
/*,
|
||||
"shared_folders" :
|
||||
[
|
||||
{
|
||||
"secret" : "MY_SECRET_1", // required field - use --generate-secret in command line to create new secret
|
||||
"dir" : "/home/user/resilio/sync_test", // * required field
|
||||
"use_relay_server" : true, // use relay server when direct connection fails
|
||||
"use_tracker" : true,
|
||||
"search_lan" : true,
|
||||
"use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices
|
||||
"overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders
|
||||
"selective_sync" : false, // add folder in selective sync mode
|
||||
"known_hosts" : // specify hosts to attempt connection without additional search
|
||||
[
|
||||
"192.168.1.2:44444"
|
||||
]
|
||||
}
|
||||
]
|
||||
*/
|
||||
|
||||
/* Advanced preferences can be added to config file. Info is available at "https://help.getsync.com/hc/en-us/articles/207371636"
|
||||
For example see folder_rescan_interval below */
|
||||
//, "folder_rescan_interval" : 600
|
||||
|
||||
}
|
||||
30
.config/rslsync/server.crt
Normal file
30
.config/rslsync/server.crt
Normal file
@ -0,0 +1,30 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFOTCC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A1UdEQQ+MDyCCW9jdHJvbi5zeIILKi5vY3Ry
|
||||
b24uc3iCFm1hamVzdGl4LmdhbGxpZXIubG9jYWyHBMCoUQqHBMCo/vIwDQYJKoZI
|
||||
hvcNAQELBQADggIBANeZiZhfMVsZJcZ00GoAUy2OlL7ARwnkIYqgN5C88M1YdaVn
|
||||
c4EtNyayVgtUK6llu549M1VjLSiWpQXz5aBtPqJfQLFeClvC3rDgGhOlV46wlN9I
|
||||
rwGds+6W57Q+5T/GqJP5q+FsMIbV8bAdpzAzXjb4DRlwScmRuEyu7N/qJMCwK9K5
|
||||
Ee3f5cunSh+Yv9u2epCB0QD88aY1BnjeD+x7FfWZ+E+WL/YaeYZcElcffSXi7RJM
|
||||
5u352MdEIylxl4OQjJN9QaG3RFmEL0ha3NHjrQ4Wub96Vd4c6y8SXByquvKD/D2B
|
||||
1KxIMC0FjhsgDQRJYiElH4Dr+U2kkdMFN3qK14G4mjZEP+RHzgcmQRwFsDH41FAs
|
||||
nbl0nqKjfZlxcnympELfQZK+d0a5THdjDohIo163JFFuXtCTq3yxBxXXKoVGKEeR
|
||||
XuMN+z0j9xff2SIQDgYz4Z8jL4oKUAZk8x4OS9YBB8sT906YHWGG4zgns8bPraty
|
||||
kw2lkNNgf9VYyBPVl7A2TphMME5gFd4AaN3lRhQvGVvuKN+ybiK3x+nqWrmCHI0+
|
||||
V2jQiLXSsNSIZ9ejPnh1mLi0Tg0Dg/Qdt+Z6oA4xAGMRbCnI29cvee5n/IRveVAZ
|
||||
Kqz8zFWHHqt2saW4yZtbxrIqZx6XqNA9CW5My9JZ6RZLXcjCGbiYtUWOBYGA
|
||||
-----END CERTIFICATE-----
|
||||
27
.config/rslsync/server.key
Normal file
27
.config/rslsync/server.key
Normal file
@ -0,0 +1,27 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEpQIBAAKCAQEAzZ56B01PoXgz84364TQ+tnSi1tjhph66kugwoJsTnFZNvTdT
|
||||
JwdMaH28TTcn9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9HgoELgdJsWgBRJAoGAAeeD4W3v7rTvTwkNgrCR
|
||||
lCAPl/hzTwV2j/j3TZAh7VfOo1d2/F1KhV5WfXX9P/01jAyrEaoARLtw94UKlZq5
|
||||
Cr4f9SdYuON0B/kgqPygOoyAxQaJEurTofLqdR/i/zY6j7EpcyYxWCEat6wi1Nkw
|
||||
Ik7GX70VVNj+Ffzu1mAHHVMCgYEAqT4a2eNftMNCRPXLkXNjqkKbf50WSunSWYNx
|
||||
x8mJ/5svWQvZEOpZrpOyzWt8tbEzwwjY95sViS2eljR83LDNgFmlfDwpk4QKcvLW
|
||||
pGW2WWOjgUsVOlK1jhXVIwjP5NkkrPO0n81k7lNaXv0FnrQzNUuHaof5ut8mQWF6
|
||||
o9TePnECgYEAhry/7OX18z2fddwF94je5EgoYHmm7/1wLx54PHCTLBP2ephrBu90
|
||||
N30MAG1gTl2n5ArO7hEiiUw4c0CM/UOCKzNZ4kVtmmCMadr+Nb2OfbFYCuCt2Dld
|
||||
rnvClFaEChwE2D7UpriTas0W5FT4Rk8hRoeO1AZXbM8673N7iNxasVA=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
Reference in New Issue
Block a user