从 https://github.com/vozlt/nginx-module-vts 下载vts
从 https://github.com/nginx/nginx 下载nginx
根据说明编译nginx
设置编译参数
./auto/configruation --user=nginx --group=nginx --prefix=/etc/nginx --with-http_ssl_module --add-module=/root/git/nginx-module-vts/
/root/git/nginx-module-vts/为 vts的git cloen目录
编译好之后主要 这个vts的目录要保留 不然会报错