
Nginx Resin
haojiliang
这个作者很懒,什么都没留下…
展开
-
CentOS安装openresty或者verynginx时:undefined reference to `pcre_free_study'
一、openresty问题复现:centos安装openresty-1.11.2.5,./configure后make时报错:https://blog.iaiot.com/openresty.htmlobjs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_regex_free_study_data':/home/op...原创 2017-10-18 15:57:26 · 3585 阅读 · 0 评论 -
Nginx+lua-nginx-module,openresty,lua基础语法 笔记
1.Lua 用[[...]]括起来的字符不会被转义,在写正则表达式的时候很实用;例:[[^\d+.\d+$]]2.lua 中"~="表示不等于3.可以用 type(aa)查看变量 aa 的类型https://blog.iaiot.com/lua-notes.html4.lua 中 0 是真(true)5.字符串连接符:..7.lua 中的逻辑运算符比较特殊例:loca...原创 2018-01-12 17:31:42 · 1391 阅读 · 0 评论 -
docker run 和 docker-compose 配置挂载 Volume 并运行 nginx
https://blog.iaiot.com/docker-nginx.html1.先在宿主机创建挂载目录:mkdir -p /data/nginx/{conf,conf.d,html,logs}2.然后把文件 nginx.conf 文件放到 /data/nginx/conf/user nginx;worker_processes 1;error_log /var/log...原创 2019-08-30 07:04:12 · 5887 阅读 · 2 评论 -
resin安全配置 ip黑白名单 只允许指定ip访问resin-admin 拒绝某些ip访问webapp
为resin-admin设置白名单,webapps设置黑名单:https://blog.iaiot.com/resin.html1.resin.xml中加入admin的host配置resin:Allow,如下:<cluster id="app"> ...... <!-- 只允许指定ip访问resin-admin --> <host...原创 2017-09-18 10:18:04 · 2316 阅读 · 0 评论 -
Nginx Apache(httpd) Tomcat Resin IIS Jboss Wildfly Weblogic 等各种应用容器默认访问日志的格式及样例
新博客地址:https://blog.iaiot.com/log-example.html# Nginx格式 = $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"...原创 2018-11-14 10:55:07 · 367 阅读 · 0 评论 -
apache httpd 服务实现转发后如偶尔出现 apache proxy 错误
https://blog.iaiot.com/apache-httpd-apache-proxy.html启动服务 service httpd start重启服务 service httpd restart停止服务 service httpd stop使用指定的配置文件启动:/usr/sbin/httpd -k start -f /etc/httpd/conf/httpd_me.c...原创 2018-08-13 15:05:51 · 1287 阅读 · 0 评论 -
Nginx 笔记
新博客地址:https://blog.iaiot.com/nginx-notes.html安装:http://blog.youkuaiyun.com/gaojinshan/article/details/37603157其中安装时如果需要ssl:./configure --with-http_ssl_module卸载:直接rm -rf find出来的nginx目录即可启动:/usr/local/...原创 2018-11-20 21:34:01 · 171 阅读 · 0 评论 -
openresty(Nginx+lua-nginx-module)中各个阶段执行的指令解释及其执行顺序
https://blog.iaiot.com/openresty-lua-nginx-module.html上图来源:https://github.com/openresty/lua-nginx-module#directivesinit_by_lua*:初始化 nginx 和预加载 lua(nginx 启动和 reload 时执行);init_worker_by_lua*:每个工作进...原创 2019-01-12 15:36:34 · 3463 阅读 · 6 评论 -
resin、tomcat 中添加 host 配置后 spring 定时任务执行多次
https://blog.iaiot.com/resin-tomcat-spring-task.htmltomcat:配置文件 server.xml 中 appBase="webapps" 改为appBase=""resin:配置文件resin.xml 中 <web-app-deploy path="webapps" 改为<web-app-deploy path=""...原创 2019-02-15 17:16:38 · 328 阅读 · 0 评论