宝塔下需要安装 ngx_headers_more模块
怎么安装?
参考百度的
wget ‘http://nginx.org/download/nginx-1.5.8.tar.gz’ tar –xzvf nginx-1.5.8.tar.gz cd nginx-1.5.8/ ./configure --prefix=/www/server/panel/install/nginx.sh \--add-module=/path/to/headers-more-nginx-module make make install
在configure的时候,提示./configure: error: no /path/to/headers-more-nginx-module/config was found
|