码迷,mamicode.com
首页 >  
搜索关键字:openresty    ( 357个结果
cygwin 安装openresty过程记录
步骤: 1,cygwin最新版本。 2,cygwin安装模块:gcc, make, openssl, pcre, readline, perl, wget, unzip, sqlite。(应该是全的,在后面编译安装软件的时候会提示缺少的模块或命令,后续可以再装的) 3,cygwin手工下载源码编译安 ...
分类:Windows程序   时间:2016-08-14 22:03:34    阅读次数:309
OpenResty学习资料收集
1、nginx-lua-module使用https://github.com/iresty/nginx-lua-module-zh-wikihttps://github.com/openresty/lua-nginx-module#readme2、openresty最佳实践https://www.gitbook.com/book/moonbingbing/openresty-best-practices/details3、openresty学习资源https://github.com..
分类:其他好文   时间:2016-08-12 21:56:23    阅读次数:197
让nginx支持YII2的配置写法
location~*\.(ttf|ttc|otf|eot|woff)${add_headerAccess-Control-Allow-Origin*;} location/{indexindex.php;if(!-e$request_filename){rewrite^/(.*)/index.phplast;}}location~\.php${include/opt/openresty/nginx/conf/fastcgi_params;fastcgi_pass127.0.0.1:9000;fastcgi_i..
分类:其他好文   时间:2016-08-04 19:47:47    阅读次数:984
Mac OpenResty安装
参考网址: http://openresty.org/cn/installation.html 1.安装前的准备 Mac OS X (Darwin) 用户 使用brew工具安装pcre、openssl库: brew install pcre openssl 2.下载 OpenResty的源码包l, ...
分类:系统相关   时间:2016-07-19 23:31:30    阅读次数:467
OpenResty(Nginx)+Lua+GraphicsMagick实现缩略图功能
http://www.hopesoft.org/blog/?p=1188 2、用法 原始图片是input.jpg,尺寸:160×120 1)只缩小不放大 1 gm convert input.jpg -resize "500x500>" output_1.jpg 1 gm convert input ...
分类:其他好文   时间:2016-07-12 06:47:15    阅读次数:159
openresty中使用私钥/公钥进行加密/解密/签名/验签。
对于公钥私钥的提取,详细请看http://www.cnblogs.com/dreamer-One/p/5621134.html另外付在线加解密工具链接:http://tool.chacuo.net/cryptrsaprikey--公钥local RSA_PUBLIC_KEY = [[ BEGIN R ...
分类:其他好文   时间:2016-07-01 15:57:31    阅读次数:776
nginx日志切割
记录这个就是方便自己以后查看!!!nginx按天切割日志脚本示例如下#!/bin/bash logs_path="/usr/local/openresty/nginx/logs/" pid_path="/usr/local/openresty/nginx/logs/nginx.pid" mv${logs_path}access.log${logs_path}access_$(date-d"yesterday"+"%Y%m%d").log gzip${l..
分类:其他好文   时间:2016-06-30 23:35:45    阅读次数:288
openresty收集前端日志
环境:centos-6.5依赖:yuminstall-ygccgcc-c++下载pcre,openssl,openrestywgethttps://sourceforge.net/projects/pcre/files/pcre/8.39/pcre-8.39.tar.gzwgethttps://www.openssl.org/source/openssl-1.0.1t.tar.gzwgethttps://openresty.org/download/openresty-1.9.15.1.ta..
分类:其他好文   时间:2016-06-28 14:41:12    阅读次数:1157
openresty+lua做接口调用权限限制
说明:openresty可以理解为一个服务器它将nginx的核心包含了过来,并结合lua脚本语言实现一些对性能要求高的功能,该篇文章介绍了使用openresty 1.purview.lua 2.ini.lua 3.mysql_pool.lua 4.redis_pool.lua 5.fun.lua 6 ...
分类:其他好文   时间:2016-06-27 19:22:15    阅读次数:1422
安装openresty1.9
openrestyOpenResty是一个基于Nginx与Lua的高性能Web平台,其内部集成了大量精良的Lua库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态Web应用、Web服务和动态网关。OpenResty通过汇聚各种设计精良的Nginx模块(主要由OpenResty团队自主开..
分类:其他好文   时间:2016-06-26 00:40:35    阅读次数:316
357条   上一页 1 ... 26 27 28 29 30 ... 36 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!