摘要: 一、编译安装模块 二、下载源码包image_fliter和echo模块 三.编译 1.安装依赖: 2.cd nginx源码目录 3.查看原有nginx编译参数 4.添加编译module 5.make 四.安装 1.如果之前未安装nginx 2.如果之前通过brew安装过nginx 3.替换编译文件的 阅读全文
posted @ 2018-01-08 19:38 糖糖果 阅读(1792) 评论(0) 推荐(0) 编辑
摘要: nginx_image_filter http_image_filter_module 配置 ---------------------------------- 第一种: //官方配置 location /img/ { proxy_pass http://backend; image_filter resize 150 100; image_filter r... 阅读全文
posted @ 2018-01-08 18:42 糖糖果 阅读(2634) 评论(0) 推荐(0) 编辑