By default, DirectAdmin is deployed with the Apache web server. Converting this (including current websites) to Nginx can be done using its CustomBuild tool. After completing this guide, you will have a DirectAdmin server featuring an Nginx reverse proxy as its web server.
Step 1: Altering the CustomBuild configuration
Nginx will now be installed.
Read More
Step 1: Altering the CustomBuild configuration
cd /usr/local/directadmin/custombuild
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set php1_release 7.0
./build set php2_release 5.6
./build php n
./build set webserver nginx_apache
./build update
./build all d
./build rewrite_confs
Nginx will now be installed.