-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
Description
Contact Information
1Panel Version
v2.0.16
Problem Description
waf开启后,post文件上传出现408,无论nginx的超时调到多大都会超时然后nginx返回408.
已确认:
- 上传的文件是一个小文件,通过Action记录可以看到已经100%发送给了服务端的 /github 接口;
- nginx的客户端的超时时间为180秒
- 已排查了php后端,确认请求只到达了nginx,未到达php。
- 对于waf,即便已经将 /github 路径加入白名单也不行,必须关闭(针对这个站点)waf这个请求才能正常到达后端。
Steps to Reproduce
上传代码位于:https://github.com/AutoAccountingOrg/AutoRuleSubmit/blob/main/src/release.js#L230
The expected correct result
No response
Related log output
20.109.38.52 - - [30/Jan/2026:12:53:13 +0800] "POST /github HTTP/1.1" 408 0 "-" "AutoRuleSubmit-Release/1.0" "-"Additional Information
No response