2019-07-20 10:26:52 +00:00
|
|
|
{
|
2020-07-24 21:39:38 +00:00
|
|
|
"common": {
|
2019-08-01 07:42:15 +00:00
|
|
|
"idle_timeout": 15,
|
2019-08-04 07:37:58 +00:00
|
|
|
"upload_mode": 0,
|
2019-08-01 07:42:15 +00:00
|
|
|
"actions": {
|
|
|
|
"execute_on": [],
|
2020-05-24 13:29:39 +00:00
|
|
|
"hook": ""
|
2019-08-01 13:39:30 +00:00
|
|
|
},
|
2020-07-24 21:39:38 +00:00
|
|
|
"setstat_mode": 0,
|
|
|
|
"proxy_protocol": 0,
|
2020-07-30 20:33:49 +00:00
|
|
|
"proxy_allowed": [],
|
|
|
|
"post_connect_hook": ""
|
2020-07-24 21:39:38 +00:00
|
|
|
},
|
|
|
|
"sftpd": {
|
|
|
|
"bind_port": 2022,
|
|
|
|
"bind_address": "",
|
|
|
|
"max_auth_tries": 0,
|
|
|
|
"banner": "",
|
2020-05-16 21:26:44 +00:00
|
|
|
"host_keys": [],
|
2019-09-03 10:08:09 +00:00
|
|
|
"kex_algorithms": [],
|
|
|
|
"ciphers": [],
|
|
|
|
"macs": [],
|
2020-05-15 21:23:49 +00:00
|
|
|
"trusted_user_ca_keys": [],
|
2019-11-15 11:15:07 +00:00
|
|
|
"login_banner_file": "",
|
2020-03-04 22:10:58 +00:00
|
|
|
"enabled_ssh_commands": [
|
|
|
|
"md5sum",
|
|
|
|
"sha1sum",
|
|
|
|
"cd",
|
2020-03-26 22:38:24 +00:00
|
|
|
"pwd",
|
|
|
|
"scp"
|
2020-03-04 22:10:58 +00:00
|
|
|
],
|
2020-09-01 17:34:40 +00:00
|
|
|
"keyboard_interactive_auth_hook": "",
|
|
|
|
"password_authentication": true
|
2019-08-01 07:42:15 +00:00
|
|
|
},
|
2020-07-29 19:56:56 +00:00
|
|
|
"ftpd": {
|
|
|
|
"bind_port": 0,
|
|
|
|
"bind_address": "",
|
|
|
|
"banner": "",
|
|
|
|
"banner_file": "",
|
|
|
|
"active_transfers_port_non_20": false,
|
|
|
|
"force_passive_ip": "",
|
|
|
|
"passive_port_range": {
|
|
|
|
"start": 50000,
|
|
|
|
"end": 50100
|
|
|
|
},
|
|
|
|
"certificate_file": "",
|
2020-08-15 11:02:25 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"tls_mode": 0
|
2020-07-29 19:56:56 +00:00
|
|
|
},
|
2020-08-11 21:56:10 +00:00
|
|
|
"webdavd": {
|
|
|
|
"bind_port": 0,
|
|
|
|
"bind_address": "",
|
|
|
|
"certificate_file": "",
|
2020-08-15 13:55:20 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"cors": {
|
|
|
|
"enabled": false,
|
|
|
|
"allowed_origins": [],
|
|
|
|
"allowed_methods": [],
|
|
|
|
"allowed_headers": [],
|
|
|
|
"exposed_headers": [],
|
|
|
|
"allow_credentials": false,
|
|
|
|
"max_age": 0
|
2020-08-31 17:25:17 +00:00
|
|
|
},
|
|
|
|
"cache": {
|
|
|
|
"enabled": true,
|
|
|
|
"expiration_time": 0,
|
|
|
|
"max_size": 50
|
2020-08-15 13:55:20 +00:00
|
|
|
}
|
2020-08-11 21:56:10 +00:00
|
|
|
},
|
2019-08-01 07:42:15 +00:00
|
|
|
"data_provider": {
|
|
|
|
"driver": "sqlite",
|
|
|
|
"name": "sftpgo.db",
|
|
|
|
"host": "",
|
|
|
|
"port": 5432,
|
|
|
|
"username": "",
|
|
|
|
"password": "",
|
|
|
|
"sslmode": 0,
|
|
|
|
"connection_string": "",
|
2020-06-07 21:30:18 +00:00
|
|
|
"sql_tables_prefix": "",
|
2019-08-01 07:42:15 +00:00
|
|
|
"manage_users": 1,
|
2019-09-13 06:14:07 +00:00
|
|
|
"track_quota": 2,
|
2019-09-28 20:48:52 +00:00
|
|
|
"pool_size": 0,
|
2019-11-14 10:06:03 +00:00
|
|
|
"users_base_dir": "",
|
|
|
|
"actions": {
|
|
|
|
"execute_on": [],
|
2020-05-24 13:29:39 +00:00
|
|
|
"hook": ""
|
2020-01-06 20:42:41 +00:00
|
|
|
},
|
2020-04-01 21:25:23 +00:00
|
|
|
"external_auth_hook": "",
|
2020-01-31 18:04:00 +00:00
|
|
|
"external_auth_scope": 0,
|
2020-02-23 17:50:59 +00:00
|
|
|
"credentials_path": "credentials",
|
2020-08-12 14:15:12 +00:00
|
|
|
"pre_login_hook": "",
|
|
|
|
"post_login_hook": "",
|
2020-08-19 17:36:12 +00:00
|
|
|
"post_login_scope": 0,
|
|
|
|
"check_password_hook": "",
|
2020-09-04 15:09:31 +00:00
|
|
|
"check_password_scope": 0,
|
|
|
|
"password_hashing": {
|
|
|
|
"argon2_options": {
|
|
|
|
"memory": 65536,
|
|
|
|
"iterations": 1,
|
|
|
|
"parallelism": 2
|
|
|
|
}
|
2020-10-05 17:42:33 +00:00
|
|
|
},
|
|
|
|
"update_mode": 0
|
2019-08-01 07:42:15 +00:00
|
|
|
},
|
|
|
|
"httpd": {
|
|
|
|
"bind_port": 8080,
|
2019-10-07 16:19:01 +00:00
|
|
|
"bind_address": "127.0.0.1",
|
|
|
|
"templates_path": "templates",
|
2019-12-27 22:12:44 +00:00
|
|
|
"static_files_path": "static",
|
2020-02-03 23:08:00 +00:00
|
|
|
"backups_path": "backups",
|
|
|
|
"auth_user_file": "",
|
|
|
|
"certificate_file": "",
|
|
|
|
"certificate_key_file": ""
|
2020-04-26 21:29:09 +00:00
|
|
|
},
|
|
|
|
"http": {
|
|
|
|
"timeout": 20,
|
2020-05-03 09:37:50 +00:00
|
|
|
"ca_certificates": [],
|
|
|
|
"skip_tls_verify": false
|
2019-08-01 07:42:15 +00:00
|
|
|
}
|
2020-08-30 11:50:43 +00:00
|
|
|
}
|