sftpgo-mirror/sftpgo.json

285 lines
6.1 KiB
JSON
Raw Normal View History

2019-07-20 10:26:52 +00:00
{
"common": {
"idle_timeout": 15,
"upload_mode": 0,
"actions": {
"execute_on": [],
"execute_sync": [],
"hook": ""
2019-08-01 13:39:30 +00:00
},
"setstat_mode": 0,
"temp_path": "",
"proxy_protocol": 0,
2020-07-30 20:33:49 +00:00
"proxy_allowed": [],
2021-04-05 08:07:59 +00:00
"startup_hook": "",
"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": "",
"max_total_connections": 0,
"max_per_host_connections": 20,
"defender": {
"enabled": false,
"ban_time": 30,
"ban_time_increment": 50,
"threshold": 15,
"score_invalid": 2,
"score_valid": 1,
"score_limit_exceeded": 3,
"observation_time": 30,
"entries_soft_limit": 100,
"entries_hard_limit": 150,
"safelist_file": "",
"blocklist_file": ""
2021-04-18 10:31:06 +00:00
},
"rate_limiters": [
{
"average": 0,
"period": 1000,
"burst": 1,
"type": 2,
"protocols": [
"SSH",
"FTP",
"DAV",
"HTTP"
2021-04-18 10:31:06 +00:00
],
"allow_list": [],
2021-04-18 10:31:06 +00:00
"generate_defender_events": false,
"entries_soft_limit": 100,
"entries_hard_limit": 150
}
]
},
"sftpd": {
"bindings": [
{
"port": 2022,
"address": "",
"apply_proxy_config": true
}
],
"max_auth_tries": 0,
"banner": "",
"host_keys": [],
"kex_algorithms": [],
"ciphers": [],
"macs": [],
"trusted_user_ca_keys": [],
"login_banner_file": "",
2020-03-04 22:10:58 +00:00
"enabled_ssh_commands": [
"md5sum",
"sha1sum",
"cd",
"pwd",
"scp"
2020-03-04 22:10:58 +00:00
],
"keyboard_interactive_authentication": false,
"keyboard_interactive_auth_hook": "",
2021-07-28 22:32:55 +00:00
"password_authentication": true,
"folder_prefix": ""
},
"ftpd": {
"bindings": [
{
"port": 0,
2021-01-02 19:02:05 +00:00
"address": "",
"apply_proxy_config": true,
"tls_mode": 0,
"force_passive_ip": "",
"passive_ip_overrides": [],
"client_auth_type": 0,
"tls_cipher_suites": [],
2021-08-05 16:38:15 +00:00
"passive_connections_security": 0,
"active_connections_security": 0,
"debug": false
}
],
"banner": "",
"banner_file": "",
"active_transfers_port_non_20": true,
"passive_port_range": {
"start": 50000,
"end": 50100
},
"disable_active_mode": false,
"enable_site": false,
"hash_support": 0,
"combine_support": 0,
"certificate_file": "",
"certificate_key_file": "",
"ca_certificates": [],
"ca_revocation_lists": []
},
2020-08-11 21:56:10 +00:00
"webdavd": {
"bindings": [
{
"port": 0,
2021-01-02 19:02:05 +00:00
"address": "",
"enable_https": false,
"client_auth_type": 0,
2021-03-07 16:10:45 +00:00
"tls_cipher_suites": [],
"prefix": "",
"proxy_allowed": []
}
],
2020-08-11 21:56:10 +00:00
"certificate_file": "",
2020-08-15 13:55:20 +00:00
"certificate_key_file": "",
"ca_certificates": [],
"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
},
"cache": {
"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
},
"data_provider": {
"driver": "sqlite",
"name": "sftpgo.db",
"host": "",
"port": 0,
"username": "",
"password": "",
"sslmode": 0,
"connection_string": "",
"sql_tables_prefix": "",
"track_quota": 2,
"delayed_quota_update": 0,
"pool_size": 0,
"users_base_dir": "",
"actions": {
"execute_on": [],
"execute_for": [],
"hook": ""
},
"external_auth_hook": "",
"external_auth_scope": 0,
"credentials_path": "credentials",
"prefer_database_credentials": false,
"pre_login_hook": "",
"post_login_hook": "",
"post_login_scope": 0,
"check_password_hook": "",
"check_password_scope": 0,
"password_hashing": {
"bcrypt_options": {
"cost": 10
},
"argon2_options": {
"memory": 65536,
"iterations": 1,
"parallelism": 2
},
"algo": "bcrypt"
},
"password_validation": {
"admins": {
"min_entropy": 0
},
"users": {
"min_entropy": 0
}
},
"password_caching": true,
"update_mode": 0,
"skip_natural_keys_validation": false,
"create_default_admin": false,
"is_shared": 0
},
"httpd": {
"bindings": [
{
"port": 8080,
"address": "",
"enable_web_admin": true,
"enable_web_client": true,
"enable_https": false,
"client_auth_type": 0,
"tls_cipher_suites": [],
"proxy_allowed": [],
"hide_login_url": 0,
"render_openapi": true
}
],
"templates_path": "templates",
2019-12-27 22:12:44 +00:00
"static_files_path": "static",
"openapi_path": "openapi",
2021-11-22 11:25:36 +00:00
"backups_path": "backups",
"web_root": "",
"certificate_file": "",
"certificate_key_file": "",
"ca_certificates": [],
"ca_revocation_lists": [],
"signing_passphrase": "",
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
}
},
"telemetry": {
"bind_port": 0,
"bind_address": "127.0.0.1",
"enable_profiler": false,
"auth_user_file": "",
"certificate_file": "",
"certificate_key_file": "",
"tls_cipher_suites": []
},
"http": {
"timeout": 20,
"retry_wait_min": 2,
"retry_wait_max": 30,
"retry_max": 3,
"ca_certificates": [],
2021-02-13 13:41:37 +00:00
"certificates": [],
"skip_tls_verify": false,
"headers": []
2020-11-30 20:46:34 +00:00
},
"kms": {
"secrets": {
"url": "",
"master_key": "",
2020-11-30 20:46:34 +00:00
"master_key_path": ""
}
2021-07-11 13:26:51 +00:00
},
"mfa": {
"totp": [
{
"name": "Default",
"issuer": "SFTPGo",
"algo": "sha1"
}
]
},
"smtp": {
"host": "",
"port": 25,
"from": "",
"user": "",
"password": "",
"auth_type": 0,
"encryption": 0,
"domain": "",
"templates_path": "templates"
},
2021-07-11 13:26:51 +00:00
"plugins": []
}