泰州网站建设 思创平台推广策略都有哪些
新编译前,在对应的nginx原编译文件夹 如:nginx-1.23.0 下,要 make clean 清空以前编译的objs文件夹,实际上就是执行了rm objs文件夹。
很多要用到git,先yum install git -y
echo-nginx-module
让nginx直接使用echo的模块,方便调试。可在locatin下使用
下载:
git clone https://github.com/openresty/echo-nginx-module.git
git clone http://github.com/openresty/echo-nginx-module.git
git clone git://github.com/openresty/echo-nginx-module.git
以上都试一下,实验时http的成功了。
填上下载下来的模块的路径configue就好
例子:
奇怪的是,如果有了return,即使echo写在return之前,curl以后依然不会有echo的输出。