Instalar Nginx
cd /usr/local/directadmin/custombuild
./build set mod_ruid2 no
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set php3_mode php-fpm
./build set php4_mode php-fpm
./build set webserver nginx
./build update
./build nginx
./build php n
./build rewrite_confs
Modificar o limite de arquivos abertos simultaneamente pelo serviço do Nginx no servidor.
mkdir -p /etc/systemd/system/nginx.service.d
touch /etc/systemd/system/nginx.service.d/override.conf
incluir
[Service]
LimitNOFILE=4096
systemctl daemon-reload