说明:很多编译安装的说明都没有设置conf-path,但是我没有设置的话,在make install 阶段会出现
“cp: "conf/koi-win" 与"/usr/local/nginx/conf/koi-win" 为同一文件”的解决方法
cp: `conf/koi-win' and `/usr/local/nginx/conf/koi-win' are the same file错误)
解决方法:配置nginx.conf的路径
./configure --prefix=/usr/local/nginx-1.2.3 \
--conf-path=/usr/local/nginx-1.2.3/nginx.conf \
--openssl-path=/usr/local/openssl-1.0.1c \
--with-http_ssl_module \
--with-pcre=/usr/local/pcre-8.21 \
--with-http-stub-status-module