Directdmin How to install Nginx with SSH
You can install nginx a few steps. You will login with admin.
cd /usr/local/directadmin/custombuild
./build update
./build update_da
./build set webserver nginx
./build set php1_mode php-fpm
./build update
./build all d
./build rewrite_confs