随笔分类 - nginx
摘要:rewrite ^/1 permanent; rewrite ^/cate_(.*)/detail_(.*).html http://www.xx.com/index/article/articleinfo/news_id/$2.html permanent
阅读全文
摘要:在nginx的server中添加: 这是由于页面内容过长,默认的值比较小造成的。
阅读全文
摘要:一、安装编译工具及库文件 zlib库:zlib库是ngx_http_gzip_module(gzip压缩模块)所必需的openssl库 :--with-http_ssl_module使用该模块必需装openssl库,来实现http支持https协议 二、安装pcre库prce库:--with-htt
阅读全文