mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
a08dd85efd
host_key defines the private host keys as plain list of strings. Remove the other deprecated config params from the default config too. Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
72 lines
No EOL
1.5 KiB
JSON
72 lines
No EOL
1.5 KiB
JSON
{
|
|
"sftpd": {
|
|
"bind_port": 2022,
|
|
"bind_address": "",
|
|
"idle_timeout": 15,
|
|
"max_auth_tries": 0,
|
|
"umask": "0022",
|
|
"banner": "",
|
|
"upload_mode": 0,
|
|
"actions": {
|
|
"execute_on": [],
|
|
"command": "",
|
|
"http_notification_url": ""
|
|
},
|
|
"host_keys": [],
|
|
"kex_algorithms": [],
|
|
"ciphers": [],
|
|
"macs": [],
|
|
"trusted_user_ca_keys": [],
|
|
"login_banner_file": "",
|
|
"setstat_mode": 0,
|
|
"enabled_ssh_commands": [
|
|
"md5sum",
|
|
"sha1sum",
|
|
"cd",
|
|
"pwd",
|
|
"scp"
|
|
],
|
|
"keyboard_interactive_auth_hook": "",
|
|
"proxy_protocol": 0,
|
|
"proxy_allowed": []
|
|
},
|
|
"data_provider": {
|
|
"driver": "sqlite",
|
|
"name": "sftpgo.db",
|
|
"host": "",
|
|
"port": 5432,
|
|
"username": "",
|
|
"password": "",
|
|
"sslmode": 0,
|
|
"connection_string": "",
|
|
"users_table": "users",
|
|
"manage_users": 1,
|
|
"track_quota": 2,
|
|
"pool_size": 0,
|
|
"users_base_dir": "",
|
|
"actions": {
|
|
"execute_on": [],
|
|
"command": "",
|
|
"http_notification_url": ""
|
|
},
|
|
"external_auth_hook": "",
|
|
"external_auth_scope": 0,
|
|
"credentials_path": "credentials",
|
|
"pre_login_hook": ""
|
|
},
|
|
"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
|
|
}
|
|
} |