Fork me on GitHub
摘要: 最近项目中涉及到旧老项目迁移,需要在nginx上做些配置,所以简单学习了下,好记性不如烂笔头,先记下来。rewrite首先查看下nginx是否支持rewrite:./nginx -V不支持说明安装nginx时候缺少pcre,需要重新安装nginx:#安装pcrewget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gztar -zxvf pcre-8.34.tar.gzcd pcre-8.34./configuremakemake install#安装nginxcd nginx-1.0.12./conf 阅读全文
posted @ 2014-01-23 20:44 zhanjindong 阅读(65246) 评论(0) 推荐(1) 编辑
TOP