Vsftpd dans un conteneur
This commit is contained in:
parent
fa7ff33dd5
commit
01a7d09d27
4 changed files with 50 additions and 21 deletions
|
@ -19,6 +19,7 @@ in
|
|||
../../services/mail-server.nix
|
||||
../../services/site-musique.nix
|
||||
../../services/site-max.nix
|
||||
../../containers/vsftpd.nix
|
||||
];
|
||||
|
||||
services = {
|
||||
|
@ -342,20 +343,6 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
vsftpd = {
|
||||
enable = true;
|
||||
forceLocalLoginsSSL = true;
|
||||
forceLocalDataSSL = true;
|
||||
userlistDeny = false;
|
||||
localUsers = true;
|
||||
userlist = ["claire"];
|
||||
rsaCertFile = "/var/vsftpd/vsftpd.pem";
|
||||
extraConfig = ''
|
||||
pasv_min_port=64000
|
||||
pasv_max_port=65535
|
||||
'';
|
||||
};
|
||||
|
||||
site-musique = {
|
||||
enable = true;
|
||||
port = musique_port;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue