sftpgo.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. {
  2. "common": {
  3. "idle_timeout": 15,
  4. "upload_mode": 0,
  5. "actions": {
  6. "execute_on": [],
  7. "hook": ""
  8. },
  9. "setstat_mode": 0,
  10. "proxy_protocol": 0,
  11. "proxy_allowed": [],
  12. "post_connect_hook": ""
  13. },
  14. "sftpd": {
  15. "bind_port": 2022,
  16. "bind_address": "",
  17. "max_auth_tries": 0,
  18. "banner": "",
  19. "host_keys": [],
  20. "kex_algorithms": [],
  21. "ciphers": [],
  22. "macs": [],
  23. "trusted_user_ca_keys": [],
  24. "login_banner_file": "",
  25. "enabled_ssh_commands": [
  26. "md5sum",
  27. "sha1sum",
  28. "cd",
  29. "pwd",
  30. "scp"
  31. ],
  32. "keyboard_interactive_auth_hook": "",
  33. "password_authentication": true
  34. },
  35. "ftpd": {
  36. "bind_port": 0,
  37. "bind_address": "",
  38. "banner": "",
  39. "banner_file": "",
  40. "active_transfers_port_non_20": false,
  41. "force_passive_ip": "",
  42. "passive_port_range": {
  43. "start": 50000,
  44. "end": 50100
  45. },
  46. "certificate_file": "",
  47. "certificate_key_file": "",
  48. "tls_mode": 0
  49. },
  50. "webdavd": {
  51. "bind_port": 0,
  52. "bind_address": "",
  53. "certificate_file": "",
  54. "certificate_key_file": "",
  55. "cors": {
  56. "enabled": false,
  57. "allowed_origins": [],
  58. "allowed_methods": [],
  59. "allowed_headers": [],
  60. "exposed_headers": [],
  61. "allow_credentials": false,
  62. "max_age": 0
  63. },
  64. "cache": {
  65. "enabled": true,
  66. "expiration_time": 0,
  67. "max_size": 50
  68. }
  69. },
  70. "data_provider": {
  71. "driver": "sqlite",
  72. "name": "sftpgo.db",
  73. "host": "",
  74. "port": 5432,
  75. "username": "",
  76. "password": "",
  77. "sslmode": 0,
  78. "connection_string": "",
  79. "sql_tables_prefix": "",
  80. "manage_users": 1,
  81. "track_quota": 2,
  82. "pool_size": 0,
  83. "users_base_dir": "",
  84. "actions": {
  85. "execute_on": [],
  86. "hook": ""
  87. },
  88. "external_auth_hook": "",
  89. "external_auth_scope": 0,
  90. "credentials_path": "credentials",
  91. "prefer_database_credentials": false,
  92. "pre_login_hook": "",
  93. "post_login_hook": "",
  94. "post_login_scope": 0,
  95. "check_password_hook": "",
  96. "check_password_scope": 0,
  97. "password_hashing": {
  98. "argon2_options": {
  99. "memory": 65536,
  100. "iterations": 1,
  101. "parallelism": 2
  102. }
  103. },
  104. "update_mode": 0
  105. },
  106. "httpd": {
  107. "bind_port": 8080,
  108. "bind_address": "127.0.0.1",
  109. "templates_path": "templates",
  110. "static_files_path": "static",
  111. "backups_path": "backups",
  112. "auth_user_file": "",
  113. "certificate_file": "",
  114. "certificate_key_file": ""
  115. },
  116. "http": {
  117. "timeout": 20,
  118. "ca_certificates": [],
  119. "skip_tls_verify": false
  120. }
  121. }