include

nginx.conf中写入

include DIR/*

这样只要给每个新增项目建一个 **.conf文件就好了