由于directadmin自带功能太少,所以就补充一下。 1、配置custombuild cd /usr/local/directadmin/custombuild mkdir -p custom/nginx cp -fp configure/nginx/configure.nginx custom/nginx/ 2、编辑/usr/local/directadmin/custombuild/custom/nginx/configure.nginx 新内容如下: #!/bin/sh ./configure "--us…