mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
8b0a1817b3
its main use case is to allow to easily support things like password+OTP for protocols without keyboard interactive support such as FTP and WebDAV
106 lines
2.2 KiB
JSON
106 lines
2.2 KiB
JSON
{
|
|
"common": {
|
|
"idle_timeout": 15,
|
|
"upload_mode": 0,
|
|
"actions": {
|
|
"execute_on": [],
|
|
"hook": ""
|
|
},
|
|
"setstat_mode": 0,
|
|
"proxy_protocol": 0,
|
|
"proxy_allowed": [],
|
|
"post_connect_hook": ""
|
|
},
|
|
"sftpd": {
|
|
"bind_port": 2022,
|
|
"bind_address": "",
|
|
"max_auth_tries": 0,
|
|
"banner": "",
|
|
"host_keys": [],
|
|
"kex_algorithms": [],
|
|
"ciphers": [],
|
|
"macs": [],
|
|
"trusted_user_ca_keys": [],
|
|
"login_banner_file": "",
|
|
"enabled_ssh_commands": [
|
|
"md5sum",
|
|
"sha1sum",
|
|
"cd",
|
|
"pwd",
|
|
"scp"
|
|
],
|
|
"keyboard_interactive_auth_hook": ""
|
|
},
|
|
"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": "",
|
|
"certificate_key_file": "",
|
|
"tls_mode": 0
|
|
},
|
|
"webdavd": {
|
|
"bind_port": 0,
|
|
"bind_address": "",
|
|
"certificate_file": "",
|
|
"certificate_key_file": "",
|
|
"cors": {
|
|
"enabled": false,
|
|
"allowed_origins": [],
|
|
"allowed_methods": [],
|
|
"allowed_headers": [],
|
|
"exposed_headers": [],
|
|
"allow_credentials": false,
|
|
"max_age": 0
|
|
}
|
|
},
|
|
"data_provider": {
|
|
"driver": "sqlite",
|
|
"name": "sftpgo.db",
|
|
"host": "",
|
|
"port": 5432,
|
|
"username": "",
|
|
"password": "",
|
|
"sslmode": 0,
|
|
"connection_string": "",
|
|
"sql_tables_prefix": "",
|
|
"manage_users": 1,
|
|
"track_quota": 2,
|
|
"pool_size": 0,
|
|
"users_base_dir": "",
|
|
"actions": {
|
|
"execute_on": [],
|
|
"hook": ""
|
|
},
|
|
"external_auth_hook": "",
|
|
"external_auth_scope": 0,
|
|
"credentials_path": "credentials",
|
|
"pre_login_hook": "",
|
|
"post_login_hook": "",
|
|
"post_login_scope": 0,
|
|
"check_password_hook": "",
|
|
"check_password_scope": 0
|
|
},
|
|
"httpd": {
|
|
"bind_port": 8080,
|
|
"bind_address": "127.0.0.1",
|
|
"templates_path": "templates",
|
|
"static_files_path": "static",
|
|
"backups_path": "backups",
|
|
"auth_user_file": "",
|
|
"certificate_file": "",
|
|
"certificate_key_file": ""
|
|
},
|
|
"http": {
|
|
"timeout": 20,
|
|
"ca_certificates": [],
|
|
"skip_tls_verify": false
|
|
}
|
|
}
|