Configuration Reference
Port Map
| Port | Service | Protocol | Auth | SSL |
|---|---|---|---|---|
80 |
Nginx |
HTTP |
No |
No |
82 |
Nginx |
WebDAV |
No |
No |
83 |
Nginx |
WebDAV |
Basic |
No |
21 |
vsftpd |
FTP |
PAM |
No |
49000-55000 |
vsftpd |
FTP passive |
- |
No |
443 |
Nginx |
HTTPS |
No |
Yes |
482 |
Nginx |
WebDAV |
No |
Yes |
483 |
Nginx |
WebDAV |
Basic |
Yes |
File Paths
Shared
| Path | Description |
|---|---|
|
WebDAV/FTP shared root directory |
|
Nginx temporary upload directory |
Nginx
| Path | Debian | CentOS |
|---|---|---|
Main config |
|
|
Site config |
|
|
Password file |
|
|
DAV ext module |
(built-in via |
|
Access logs |
|
|
Error logs |
|
|
vsftpd
| Path | Debian | CentOS |
|---|---|---|
Main config |
|
|
User whitelist |
|
|
User blacklist |
|
|
Chroot exceptions |
|
|
Per-user configs |
|
|
Logs |
|
|
PAM config |
|
|
Install Script Options
Usage: install-debian.sh|install-centos.sh --domain <domain> --user <username> [--with-ssl] [--skip-update]
Options:
--domain <domain> Server domain name (required)
--user <username> FTP/WebDAV username to create (required)
--with-ssl Enable SSL via Let's Encrypt certbot (optional)
--skip-update Skip system package update (optional)
-h, --help Show help message
Using --skip-update skips apt-get update/upgrade (Debian) or yum update (CentOS). This saves time but may leave the system with outdated packages. It is recommended to run a full system update before production use.
|