Linux

How to fix problem with ServerRoot /etc/httpd on DirectAdmin apache_nginx

Guide to fix error output when start nginx on DirectAdmin with webserver nginx_apache
nginx: [emerg] unknown directive "ServerRoot" in /usr/local/directadmin/data/users/admin/nginx.conf:16

echo 'frontpage_on=0' | sudo tee -a /usr/local/directadmin/conf/directadmin.conf

And rebuild nginx_apache

cd /usr/local/directadmin/custombuild
./build nginx_apache

 Thanks for visit my website.