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": [],
|
2021-04-05 08:07:59 +00:00
|
|
|
"startup_hook": "",
|
2020-12-15 18:29:30 +00:00
|
|
|
"post_connect_hook": "",
|
2021-01-02 13:05:09 +00:00
|
|
|
"max_total_connections": 0,
|
|
|
|
"defender": {
|
|
|
|
"enabled": false,
|
|
|
|
"ban_time": 30,
|
|
|
|
"ban_time_increment": 50,
|
|
|
|
"threshold": 15,
|
|
|
|
"score_invalid": 2,
|
|
|
|
"score_valid": 1,
|
|
|
|
"observation_time": 30,
|
|
|
|
"entries_soft_limit": 100,
|
|
|
|
"entries_hard_limit": 150,
|
|
|
|
"safelist_file": "",
|
|
|
|
"blocklist_file": ""
|
|
|
|
}
|
2020-07-24 21:39:38 +00:00
|
|
|
},
|
|
|
|
"sftpd": {
|
2020-12-23 15:12:30 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 2022,
|
|
|
|
"address": "",
|
|
|
|
"apply_proxy_config": true
|
|
|
|
}
|
|
|
|
],
|
2020-10-31 10:34:50 +00:00
|
|
|
"max_auth_tries": 0,
|
2020-07-24 21:39:38 +00:00
|
|
|
"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": {
|
2020-12-23 15:12:30 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
2021-01-02 19:02:05 +00:00
|
|
|
"address": "",
|
2020-12-23 15:12:30 +00:00
|
|
|
"apply_proxy_config": true,
|
|
|
|
"tls_mode": 0,
|
2020-12-29 08:20:09 +00:00
|
|
|
"force_passive_ip": "",
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
|
|
|
"tls_cipher_suites": []
|
2020-12-23 15:12:30 +00:00
|
|
|
}
|
|
|
|
],
|
2020-07-29 19:56:56 +00:00
|
|
|
"banner": "",
|
|
|
|
"banner_file": "",
|
2020-12-23 15:12:30 +00:00
|
|
|
"active_transfers_port_non_20": true,
|
2020-07-29 19:56:56 +00:00
|
|
|
"passive_port_range": {
|
|
|
|
"start": 50000,
|
|
|
|
"end": 50100
|
|
|
|
},
|
2020-12-24 17:48:06 +00:00
|
|
|
"disable_active_mode": false,
|
|
|
|
"enable_site": false,
|
|
|
|
"hash_support": 0,
|
|
|
|
"combine_support": 0,
|
2020-07-29 19:56:56 +00:00
|
|
|
"certificate_file": "",
|
2020-12-29 08:20:09 +00:00
|
|
|
"certificate_key_file": "",
|
2021-01-03 16:03:04 +00:00
|
|
|
"ca_certificates": [],
|
|
|
|
"ca_revocation_lists": []
|
2020-07-29 19:56:56 +00:00
|
|
|
},
|
2020-08-11 21:56:10 +00:00
|
|
|
"webdavd": {
|
2020-12-23 15:12:30 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 0,
|
2021-01-02 19:02:05 +00:00
|
|
|
"address": "",
|
2020-12-28 18:48:23 +00:00
|
|
|
"enable_https": false,
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-03-07 16:10:45 +00:00
|
|
|
"tls_cipher_suites": [],
|
|
|
|
"prefix": ""
|
2020-12-23 15:12:30 +00:00
|
|
|
}
|
|
|
|
],
|
2020-08-11 21:56:10 +00:00
|
|
|
"certificate_file": "",
|
2020-08-15 13:55:20 +00:00
|
|
|
"certificate_key_file": "",
|
2020-12-28 18:48:23 +00:00
|
|
|
"ca_certificates": [],
|
2021-01-03 16:03:04 +00:00
|
|
|
"ca_revocation_lists": [],
|
2020-08-15 13:55:20 +00:00
|
|
|
"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": {
|
2020-11-04 18:11:40 +00:00
|
|
|
"users": {
|
|
|
|
"expiration_time": 0,
|
|
|
|
"max_size": 50
|
|
|
|
},
|
|
|
|
"mime_types": {
|
|
|
|
"enabled": true,
|
|
|
|
"max_size": 1000
|
|
|
|
}
|
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": "",
|
2021-02-01 18:04:15 +00:00
|
|
|
"port": 0,
|
2019-08-01 07:42:15 +00:00
|
|
|
"username": "",
|
|
|
|
"password": "",
|
|
|
|
"sslmode": 0,
|
|
|
|
"connection_string": "",
|
2020-06-07 21:30:18 +00:00
|
|
|
"sql_tables_prefix": "",
|
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-10-22 08:42:40 +00:00
|
|
|
"prefer_database_credentials": false,
|
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
|
|
|
},
|
2021-03-04 08:48:53 +00:00
|
|
|
"update_mode": 0,
|
|
|
|
"skip_natural_keys_validation": false
|
2019-08-01 07:42:15 +00:00
|
|
|
},
|
|
|
|
"httpd": {
|
2021-01-19 17:59:41 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 8080,
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"enable_web_admin": true,
|
|
|
|
"enable_https": false,
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
|
|
|
"tls_cipher_suites": []
|
2021-01-19 17:59:41 +00:00
|
|
|
}
|
|
|
|
],
|
2019-10-07 16:19:01 +00:00
|
|
|
"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",
|
|
|
|
"certificate_file": "",
|
2021-01-19 17:59:41 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"ca_certificates": [],
|
|
|
|
"ca_revocation_lists": []
|
2020-04-26 21:29:09 +00:00
|
|
|
},
|
2020-12-18 08:47:22 +00:00
|
|
|
"telemetry": {
|
|
|
|
"bind_port": 10000,
|
2020-12-18 15:04:42 +00:00
|
|
|
"bind_address": "127.0.0.1",
|
|
|
|
"enable_profiler": false,
|
|
|
|
"auth_user_file": "",
|
|
|
|
"certificate_file": "",
|
2021-02-18 19:17:16 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"tls_cipher_suites": []
|
2020-12-18 08:47:22 +00:00
|
|
|
},
|
2020-04-26 21:29:09 +00:00
|
|
|
"http": {
|
|
|
|
"timeout": 20,
|
2021-02-12 20:42:49 +00:00
|
|
|
"retry_wait_min": 2,
|
|
|
|
"retry_wait_max": 30,
|
|
|
|
"retry_max": 3,
|
2020-05-03 09:37:50 +00:00
|
|
|
"ca_certificates": [],
|
2021-02-13 13:41:37 +00:00
|
|
|
"certificates": [],
|
2020-05-03 09:37:50 +00:00
|
|
|
"skip_tls_verify": false
|
2020-11-30 20:46:34 +00:00
|
|
|
},
|
|
|
|
"kms": {
|
|
|
|
"secrets": {
|
|
|
|
"url": "",
|
|
|
|
"master_key_path": ""
|
|
|
|
}
|
2019-08-01 07:42:15 +00:00
|
|
|
}
|
2020-10-31 10:34:50 +00:00
|
|
|
}
|