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": [],
|
2021-05-11 10:45:14 +00:00
|
|
|
"execute_sync": [],
|
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,
|
2021-05-27 13:38:27 +00:00
|
|
|
"temp_path": "",
|
2020-07-24 21:39:38 +00:00
|
|
|
"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-10-29 17:55:18 +00:00
|
|
|
"post_disconnect_hook": "",
|
2021-10-03 13:17:49 +00:00
|
|
|
"data_retention_hook": "",
|
2021-01-02 13:05:09 +00:00
|
|
|
"max_total_connections": 0,
|
2021-05-08 17:45:21 +00:00
|
|
|
"max_per_host_connections": 20,
|
2022-03-17 21:10:52 +00:00
|
|
|
"whitelist_file": "",
|
2021-01-02 13:05:09 +00:00
|
|
|
"defender": {
|
|
|
|
"enabled": false,
|
2021-12-25 11:08:07 +00:00
|
|
|
"driver": "memory",
|
2021-01-02 13:05:09 +00:00
|
|
|
"ban_time": 30,
|
|
|
|
"ban_time_increment": 50,
|
|
|
|
"threshold": 15,
|
|
|
|
"score_invalid": 2,
|
|
|
|
"score_valid": 1,
|
2021-05-08 17:45:21 +00:00
|
|
|
"score_limit_exceeded": 3,
|
2021-01-02 13:05:09 +00:00
|
|
|
"observation_time": 30,
|
|
|
|
"entries_soft_limit": 100,
|
|
|
|
"entries_hard_limit": 150,
|
|
|
|
"safelist_file": "",
|
2022-05-13 12:46:07 +00:00
|
|
|
"blocklist_file": "",
|
|
|
|
"safelist": [],
|
|
|
|
"blocklist": []
|
2021-04-18 10:31:06 +00:00
|
|
|
},
|
|
|
|
"rate_limiters": [
|
|
|
|
{
|
|
|
|
"average": 0,
|
|
|
|
"period": 1000,
|
|
|
|
"burst": 1,
|
|
|
|
"type": 2,
|
|
|
|
"protocols": [
|
|
|
|
"SSH",
|
|
|
|
"FTP",
|
2021-04-19 06:14:04 +00:00
|
|
|
"DAV",
|
|
|
|
"HTTP"
|
2021-04-18 10:31:06 +00:00
|
|
|
],
|
2021-10-03 18:50:05 +00:00
|
|
|
"allow_list": [],
|
2021-04-18 10:31:06 +00:00
|
|
|
"generate_defender_events": false,
|
|
|
|
"entries_soft_limit": 100,
|
|
|
|
"entries_hard_limit": 150
|
|
|
|
}
|
|
|
|
]
|
2020-07-24 21:39:38 +00:00
|
|
|
},
|
2022-05-27 05:39:55 +00:00
|
|
|
"acme": {
|
|
|
|
"domains": [],
|
|
|
|
"email": "",
|
|
|
|
"key_type": "4096",
|
|
|
|
"certs_path": "certs",
|
|
|
|
"ca_endpoint": "https://acme-v02.api.letsencrypt.org/directory",
|
|
|
|
"renew_days": 30,
|
|
|
|
"http01_challenge": {
|
|
|
|
"port": 80,
|
|
|
|
"proxy_header": "",
|
|
|
|
"webroot": ""
|
|
|
|
},
|
|
|
|
"tls_alpn01_challenge": {
|
|
|
|
"port": 0
|
|
|
|
}
|
|
|
|
},
|
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": [],
|
2022-04-01 06:03:56 +00:00
|
|
|
"host_certificates": [],
|
2022-04-04 16:52:19 +00:00
|
|
|
"host_key_algorithms": [],
|
2019-09-03 10:08:09 +00:00
|
|
|
"kex_algorithms": [],
|
|
|
|
"ciphers": [],
|
|
|
|
"macs": [],
|
2020-05-15 21:23:49 +00:00
|
|
|
"trusted_user_ca_keys": [],
|
2022-03-31 19:49:06 +00:00
|
|
|
"revoked_user_certs_file": "",
|
2019-11-15 11:15:07 +00:00
|
|
|
"login_banner_file": "",
|
2020-03-04 22:10:58 +00:00
|
|
|
"enabled_ssh_commands": [
|
|
|
|
"md5sum",
|
|
|
|
"sha1sum",
|
2022-03-14 09:42:14 +00:00
|
|
|
"sha256sum",
|
2020-03-04 22:10:58 +00:00
|
|
|
"cd",
|
2020-03-26 22:38:24 +00:00
|
|
|
"pwd",
|
|
|
|
"scp"
|
2020-03-04 22:10:58 +00:00
|
|
|
],
|
2021-09-04 10:11:04 +00:00
|
|
|
"keyboard_interactive_authentication": false,
|
2020-09-01 17:34:40 +00:00
|
|
|
"keyboard_interactive_auth_hook": "",
|
2021-07-28 22:32:55 +00:00
|
|
|
"password_authentication": true,
|
|
|
|
"folder_prefix": ""
|
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,
|
2022-05-21 14:34:47 +00:00
|
|
|
"certificate_file": "",
|
|
|
|
"certificate_key_file": "",
|
2022-02-13 14:56:07 +00:00
|
|
|
"min_tls_version": 12,
|
2020-12-29 08:20:09 +00:00
|
|
|
"force_passive_ip": "",
|
2021-11-25 11:45:09 +00:00
|
|
|
"passive_ip_overrides": [],
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-07-20 15:22:08 +00:00
|
|
|
"tls_cipher_suites": [],
|
2021-08-05 16:38:15 +00:00
|
|
|
"passive_connections_security": 0,
|
|
|
|
"active_connections_security": 0,
|
2021-07-20 15:22:08 +00:00
|
|
|
"debug": false
|
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,
|
2022-05-21 14:34:47 +00:00
|
|
|
"certificate_file": "",
|
|
|
|
"certificate_key_file": "",
|
2022-02-13 14:56:07 +00:00
|
|
|
"min_tls_version": 12,
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-03-07 16:10:45 +00:00
|
|
|
"tls_cipher_suites": [],
|
2021-05-11 04:54:06 +00:00
|
|
|
"prefix": "",
|
2022-05-28 17:47:23 +00:00
|
|
|
"proxy_allowed": [],
|
|
|
|
"client_ip_proxy_header": "",
|
|
|
|
"client_ip_header_depth": 0
|
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,
|
2022-01-30 17:04:03 +00:00
|
|
|
"root_cert": "",
|
|
|
|
"client_cert": "",
|
|
|
|
"client_key": "",
|
2019-08-01 07:42:15 +00:00
|
|
|
"connection_string": "",
|
2020-06-07 21:30:18 +00:00
|
|
|
"sql_tables_prefix": "",
|
2019-09-13 06:14:07 +00:00
|
|
|
"track_quota": 2,
|
2021-04-11 06:38:43 +00:00
|
|
|
"delayed_quota_update": 0,
|
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": [],
|
2021-10-10 11:08:05 +00:00
|
|
|
"execute_for": [],
|
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": {
|
2021-04-25 07:38:33 +00:00
|
|
|
"bcrypt_options": {
|
|
|
|
"cost": 10
|
|
|
|
},
|
2020-09-04 15:09:31 +00:00
|
|
|
"argon2_options": {
|
|
|
|
"memory": 65536,
|
|
|
|
"iterations": 1,
|
|
|
|
"parallelism": 2
|
2021-04-20 11:55:09 +00:00
|
|
|
},
|
2021-04-25 07:38:33 +00:00
|
|
|
"algo": "bcrypt"
|
2020-10-05 17:42:33 +00:00
|
|
|
},
|
2021-08-06 16:56:07 +00:00
|
|
|
"password_validation": {
|
|
|
|
"admins": {
|
|
|
|
"min_entropy": 0
|
|
|
|
},
|
|
|
|
"users": {
|
|
|
|
"min_entropy": 0
|
|
|
|
}
|
|
|
|
},
|
2021-04-20 07:39:36 +00:00
|
|
|
"password_caching": true,
|
2021-03-04 08:48:53 +00:00
|
|
|
"update_mode": 0,
|
2021-08-20 07:35:06 +00:00
|
|
|
"create_default_admin": false,
|
2022-06-03 14:09:02 +00:00
|
|
|
"naming_rules": 1,
|
2022-03-13 12:45:07 +00:00
|
|
|
"is_shared": 0,
|
|
|
|
"backups_path": "backups",
|
|
|
|
"auto_backup": {
|
|
|
|
"enabled": true,
|
|
|
|
"hour": "0",
|
|
|
|
"day_of_week": "*"
|
|
|
|
}
|
2019-08-01 07:42:15 +00:00
|
|
|
},
|
|
|
|
"httpd": {
|
2021-01-19 17:59:41 +00:00
|
|
|
"bindings": [
|
|
|
|
{
|
|
|
|
"port": 8080,
|
2021-05-11 04:54:06 +00:00
|
|
|
"address": "",
|
2021-01-19 17:59:41 +00:00
|
|
|
"enable_web_admin": true,
|
2021-05-06 19:35:43 +00:00
|
|
|
"enable_web_client": true,
|
2021-01-19 17:59:41 +00:00
|
|
|
"enable_https": false,
|
2022-05-21 14:34:47 +00:00
|
|
|
"certificate_file": "",
|
|
|
|
"certificate_key_file": "",
|
2022-02-13 14:56:07 +00:00
|
|
|
"min_tls_version": 12,
|
2021-02-18 19:17:16 +00:00
|
|
|
"client_auth_type": 0,
|
2021-05-11 04:54:06 +00:00
|
|
|
"tls_cipher_suites": [],
|
2021-07-27 16:43:00 +00:00
|
|
|
"proxy_allowed": [],
|
2022-05-28 17:47:23 +00:00
|
|
|
"client_ip_proxy_header": "",
|
|
|
|
"client_ip_header_depth": 0,
|
2021-11-21 08:32:51 +00:00
|
|
|
"hide_login_url": 0,
|
2021-12-03 17:33:08 +00:00
|
|
|
"render_openapi": true,
|
2022-02-13 13:30:20 +00:00
|
|
|
"web_client_integrations": [],
|
|
|
|
"oidc": {
|
|
|
|
"client_id": "",
|
|
|
|
"client_secret": "",
|
|
|
|
"config_url": "",
|
|
|
|
"redirect_base_url": "",
|
2022-07-16 17:25:04 +00:00
|
|
|
"scopes": [
|
|
|
|
"openid",
|
|
|
|
"profile",
|
|
|
|
"email"
|
|
|
|
],
|
2022-02-13 13:30:20 +00:00
|
|
|
"username_field": "",
|
2022-04-12 17:31:25 +00:00
|
|
|
"role_field": "",
|
2022-05-22 12:38:25 +00:00
|
|
|
"implicit_roles": false,
|
2022-04-12 17:31:25 +00:00
|
|
|
"custom_fields": []
|
2022-02-17 17:22:27 +00:00
|
|
|
},
|
|
|
|
"security": {
|
|
|
|
"enabled": false,
|
|
|
|
"allowed_hosts": [],
|
|
|
|
"allowed_hosts_are_regex": false,
|
|
|
|
"hosts_proxy_headers": [],
|
2022-03-26 09:00:02 +00:00
|
|
|
"https_redirect": false,
|
|
|
|
"https_host": "",
|
2022-02-17 17:22:27 +00:00
|
|
|
"https_proxy_headers": [],
|
|
|
|
"sts_seconds": 0,
|
|
|
|
"sts_include_subdomains": false,
|
|
|
|
"sts_preload": false,
|
|
|
|
"content_type_nosniff": false,
|
|
|
|
"content_security_policy": "",
|
|
|
|
"permissions_policy": "",
|
|
|
|
"cross_origin_opener_policy": "",
|
|
|
|
"expect_ct_header": ""
|
2022-03-19 20:44:27 +00:00
|
|
|
},
|
2022-05-13 17:40:52 +00:00
|
|
|
"branding": {
|
|
|
|
"web_admin": {
|
|
|
|
"name": "",
|
|
|
|
"short_name": "",
|
|
|
|
"favicon_path": "",
|
|
|
|
"logo_path": "",
|
|
|
|
"login_image_path": "",
|
|
|
|
"disclaimer_name": "",
|
|
|
|
"disclaimer_path": "",
|
2022-05-21 09:05:58 +00:00
|
|
|
"default_css": "",
|
2022-05-13 17:40:52 +00:00
|
|
|
"extra_css": []
|
|
|
|
},
|
|
|
|
"web_client": {
|
|
|
|
"name": "",
|
|
|
|
"short_name": "",
|
|
|
|
"favicon_path": "",
|
|
|
|
"logo_path": "",
|
|
|
|
"login_image_path": "",
|
|
|
|
"disclaimer_name": "",
|
|
|
|
"disclaimer_path": "",
|
2022-05-21 09:05:58 +00:00
|
|
|
"default_css": "",
|
2022-05-13 17:40:52 +00:00
|
|
|
"extra_css": []
|
|
|
|
}
|
|
|
|
}
|
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",
|
2021-11-21 08:32:51 +00:00
|
|
|
"openapi_path": "openapi",
|
2021-05-06 19:35:43 +00:00
|
|
|
"web_root": "",
|
2020-02-03 23:08:00 +00:00
|
|
|
"certificate_file": "",
|
2021-01-19 17:59:41 +00:00
|
|
|
"certificate_key_file": "",
|
|
|
|
"ca_certificates": [],
|
2021-07-01 18:17:40 +00:00
|
|
|
"ca_revocation_lists": [],
|
2021-07-23 08:19:27 +00:00
|
|
|
"signing_passphrase": "",
|
2022-05-28 11:28:50 +00:00
|
|
|
"token_validation": 0,
|
2021-11-13 22:14:50 +00:00
|
|
|
"max_upload_file_size": 1048576000,
|
|
|
|
"cors": {
|
|
|
|
"enabled": false,
|
|
|
|
"allowed_origins": [],
|
|
|
|
"allowed_methods": [],
|
|
|
|
"allowed_headers": [],
|
|
|
|
"exposed_headers": [],
|
|
|
|
"allow_credentials": false,
|
|
|
|
"max_age": 0
|
2022-02-27 12:08:47 +00:00
|
|
|
},
|
|
|
|
"setup": {
|
|
|
|
"installation_code": "",
|
|
|
|
"installation_code_hint": "Installation code"
|
2022-07-16 18:29:10 +00:00
|
|
|
},
|
|
|
|
"hide_support_link": false
|
2020-04-26 21:29:09 +00:00
|
|
|
},
|
2020-12-18 08:47:22 +00:00
|
|
|
"telemetry": {
|
2021-11-29 16:58:10 +00:00
|
|
|
"bind_port": 0,
|
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": "",
|
2022-02-13 14:56:07 +00:00
|
|
|
"min_tls_version": 12,
|
2021-02-18 19:17:16 +00:00
|
|
|
"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": [],
|
2021-05-25 06:36:01 +00:00
|
|
|
"skip_tls_verify": false,
|
|
|
|
"headers": []
|
2020-11-30 20:46:34 +00:00
|
|
|
},
|
2022-05-20 17:30:54 +00:00
|
|
|
"command": {
|
|
|
|
"timeout": 30,
|
|
|
|
"env": [],
|
|
|
|
"commands": []
|
|
|
|
},
|
2020-11-30 20:46:34 +00:00
|
|
|
"kms": {
|
|
|
|
"secrets": {
|
|
|
|
"url": "",
|
2021-07-17 13:34:48 +00:00
|
|
|
"master_key": "",
|
2020-11-30 20:46:34 +00:00
|
|
|
"master_key_path": ""
|
|
|
|
}
|
2021-07-11 13:26:51 +00:00
|
|
|
},
|
2021-09-04 10:11:04 +00:00
|
|
|
"mfa": {
|
|
|
|
"totp": [
|
|
|
|
{
|
|
|
|
"name": "Default",
|
|
|
|
"issuer": "SFTPGo",
|
|
|
|
"algo": "sha1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-09-26 18:25:37 +00:00
|
|
|
"smtp": {
|
|
|
|
"host": "",
|
|
|
|
"port": 25,
|
|
|
|
"from": "",
|
|
|
|
"user": "",
|
|
|
|
"password": "",
|
|
|
|
"auth_type": 0,
|
|
|
|
"encryption": 0,
|
2021-10-02 20:25:41 +00:00
|
|
|
"domain": "",
|
|
|
|
"templates_path": "templates"
|
2021-09-26 18:25:37 +00:00
|
|
|
},
|
2021-07-11 13:26:51 +00:00
|
|
|
"plugins": []
|
2020-10-31 10:34:50 +00:00
|
|
|
}
|