chore(config): disable FTP and SFTP by default

pull/7655/head v3.41.0
Andy Hsu 2024-12-12 21:04:14 +08:00
parent 33ba7f1521
commit cf58ab3a78
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ func DefaultConfig() *Config {
SSL: false,
},
FTP: FTP{
Enable: true,
Enable: false,
Listen: ":5221",
FindPasvPortAttempts: 50,
ActiveTransferPortNon20: false,
@ -192,7 +192,7 @@ func DefaultConfig() *Config {
EnablePasvConnIPCheck: true,
},
SFTP: SFTP{
Enable: true,
Enable: false,
Listen: ":5222",
},
}