DirectAdmin
之前想要使用nginx+apache
设置很复杂,现在DirectAdmin CustomBuild2.0
已经正式发布,默认支持nginx+apache
,经过我们测试稳定性没有任何问题,大家可以放心使用。
cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files1.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update
./build update_da
./build set webserver nginx_apache /* 设置httpd为nginx+apache */
./build nginx_apache /* 编译 nginx+apache */
./build php n /* 重新编译 php */
./build rewrite_confs /* 重新编译 伪静态 */
现在去后台的服务监控里就可以看到nginx了~~~