摘要:安装openresty时报错:./configure: error: SSL modules require the OpenSSL library. 解决办法,下载openssl类库:https://www.openssl.org/source/old/1.1.1/openssl-1.1.1w.t
阅读全文
随笔分类 - nginx/lua/openresty
摘要:因为安全问题,把tomcat升级到8.5系列的最新版,发现静态资源文件出现400错误。 问题重现: curl -voa "https://xxxxx/images/notice.png" --resolve xxxxxx:443:xxxxxx -H 'If-None-Match: "16368598
阅读全文
摘要:默认报错页面信息会暴露出版本号 进入tomcat的lib目录找到catalina.jar文件 unzip catalina.jar之后会多出两个文件夹 进入org/apache/catalina/util 编辑配置文件ServerInfo.properties 修改为 server.info=Apa
阅读全文
摘要:遇到一个场景: 开始测试时,使用的是 88 端口,比如 www.abc.com:88 后来上线了切换到 80 端口,www.abc.com, 然后升级到 https 默认使用443端口,https://www.abc.com 但是呢,有部分老用户还是在使用 88 和 80 端口,这个好解决,就是一个
阅读全文
摘要:openresty 错误日志报错内容: nginx.conf配置如下: 报错信息中看到: 显然是 localhost 使用了 IPV6 去访问,导致出现问题。 将 locaohost改成 127.0.0.1 即可:
阅读全文
摘要:nginx 配置不当,前端ajax调用报错: the server responded with a status of 414 (Request-URI Too Large) 浏览器F12报错如下: 原因是:url 中的 参数太长,超过了nginx默认值,解决方法: 在nginx.conf中加入下
阅读全文
摘要:OpenResty(nginx+lua) 入门
阅读全文
摘要:nginx 与 lua 开发环境搭建
阅读全文
摘要:为 Virtual Box 中的 CentOS 6.6 配置本地DVD光盘做yum软件源
阅读全文
摘要:x-forwarded-for的深度挖掘
阅读全文
摘要:nginx入门(安装,启动,关闭,信号量控制)
阅读全文