You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Nginx rewrite_by_lua运行时错误及SSL握手问题修复求助

Nginx 两类问题求助:rewrite_by_lua 运行时错误与 SSL 握手失败

问题一:rewrite_by_lua 运行时错误

  • 测试现象:用 Jmeter 做接口测试时,返回 500 Internal Server Error
  • 日志报错:attempt to concatenate local 'v' (a table value)
  • 关联配置:nginx.conf 里的 rewrite_by_lua_block 代码块

问题二:SSL 握手失败问题

  • 已尝试配置:在配置中添加了 proxy_ssl_session_reuse off
  • 日志报错:peer closed connection in SSL handshake

已附上完整的 nginx.conf 配置文件、error.log 日志内容以及 Jmeter 返回的错误页面截图,麻烦帮忙排查修复这两个问题。

内容的提问来源于stack exchange,提问作者USER

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.04 03:50:17