cd /www/server/panel/install/
echo “sed -i -e ’49s/nginx/yourwebserver/’ /www/server/nginx/src/src/http/ngx_http_header_filter_module.c” > /www/server/panel/install/nginx_prepare.sh
sh nginx.sh install 1.16
宝塔自编译nginx,隐藏nginx的名称
1
cd /www/server/panel/install/
echo “sed -i -e ’49s/nginx/yourwebserver/’ /www/server/nginx/src/src/http/ngx_http_header_filter_module.c” > /www/server/panel/install/nginx_prepare.sh
sh nginx.sh install 1.16