diff options
author | Nicola Murino | 2021-02-06 12:20:02 +0100 |
---|---|---|
committer | Nicola Murino | 2021-02-06 12:20:02 +0100 |
commit | 5ccd8a014ef30f7df5e5f9a4f65780576f90e12f (patch) | |
tree | 963d1632ad35505fefba668fff6397e7939155de /sftpgo.json | |
parent | 92ecf0d9560fb700bf5d28611c9bf5ac45622bda (diff) | |
download | aur-5ccd8a014ef30f7df5e5f9a4f65780576f90e12f.tar.gz |
update to v2.0.0
Diffstat (limited to 'sftpgo.json')
-rw-r--r-- | sftpgo.json | 88 |
1 files changed, 74 insertions, 14 deletions
diff --git a/sftpgo.json b/sftpgo.json index c3afc9ecc3cd..ff2802aef3a6 100644 --- a/sftpgo.json +++ b/sftpgo.json @@ -9,11 +9,30 @@ "setstat_mode": 0, "proxy_protocol": 0, "proxy_allowed": [], - "post_connect_hook": "" + "post_connect_hook": "", + "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": "" + } }, "sftpd": { - "bind_port": 2022, - "bind_address": "", + "bindings": [ + { + "port": 2022, + "address": "", + "apply_proxy_config": true + } + ], "max_auth_tries": 0, "banner": "", "host_keys": [], @@ -33,25 +52,45 @@ "password_authentication": true }, "ftpd": { - "bind_port": 0, - "bind_address": "", + "bindings": [ + { + "port": 0, + "address": "", + "apply_proxy_config": true, + "tls_mode": 0, + "force_passive_ip": "", + "client_auth_type": 0 + } + ], "banner": "", "banner_file": "", - "active_transfers_port_non_20": false, - "force_passive_ip": "", + "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": "", - "tls_mode": 0 + "ca_certificates": [], + "ca_revocation_lists": [] }, "webdavd": { - "bind_port": 0, - "bind_address": "", + "bindings": [ + { + "port": 0, + "address": "", + "enable_https": false, + "client_auth_type": 0 + } + ], "certificate_file": "", "certificate_key_file": "", + "ca_certificates": [], + "ca_revocation_lists": [], "cors": { "enabled": false, "allowed_origins": [], @@ -76,13 +115,12 @@ "driver": "sqlite", "name": "/var/lib/sftpgo/sftpgo.db", "host": "", - "port": 5432, + "port": 0, "username": "", "password": "", "sslmode": 0, "connection_string": "", "sql_tables_prefix": "", - "manage_users": 1, "track_quota": 2, "pool_size": 0, "users_base_dir": "/srv/sftpgo/data", @@ -109,11 +147,27 @@ "update_mode": 0 }, "httpd": { - "bind_port": 8080, - "bind_address": "127.0.0.1", + "bindings": [ + { + "port": 8080, + "address": "127.0.0.1", + "enable_web_admin": true, + "enable_https": false, + "client_auth_type": 0 + } + ], "templates_path": "/usr/share/sftpgo/templates", "static_files_path": "/usr/share/sftpgo/static", "backups_path": "/srv/sftpgo/backups", + "certificate_file": "", + "certificate_key_file": "", + "ca_certificates": [], + "ca_revocation_lists": [] + }, + "telemetry": { + "bind_port": 10000, + "bind_address": "127.0.0.1", + "enable_profiler": false, "auth_user_file": "", "certificate_file": "", "certificate_key_file": "" @@ -122,5 +176,11 @@ "timeout": 20, "ca_certificates": [], "skip_tls_verify": false + }, + "kms": { + "secrets": { + "url": "", + "master_key_path": "" + } } } |