Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openresty反向代理delete方法返回405 #4996

Open
dark2star opened this issue May 13, 2024 · 3 comments
Open

openresty反向代理delete方法返回405 #4996

dark2star opened this issue May 13, 2024 · 3 comments
Assignees

Comments

@dark2star
Copy link

联系方式

No response

1Panel 版本

v1.10.7-lts

问题描述

openresty反向代理delete方法返回405
image

重现步骤

使用openresty反向代理后端webdav服务,服务经过测试可以正常使用,但使用openresty delete方法返回405,openresty容器日志:"DELETE xxxxx HTTP/1.1" 405 18 "-" "Proxyscotch/1.1"

期待的正确结果

可以正常代理后端webdav服务,支持delete等方法

相关日志输出

"DELETE xxxxx HTTP/1.1" 405 18 "-" "Proxyscotch/1.1"

附加信息

No response

@zhengkunwang223
Copy link
Collaborator

看一下是不是被 WAF 影响了
先关闭 WAF 试试

@dark2star
Copy link
Author

看一下是不是被 WAF 影响了 先关闭 WAF 试试

确实是waf的问题,我用的是社区版,一直以为waf不可以用,已经关掉了该站点的waf,可以正常使用了,另外即便是在waf里允许delete方法也不行

@zhengkunwang223
Copy link
Collaborator

看一下是不是被 WAF 影响了 先关闭 WAF 试试

确实是waf的问题,我用的是社区版,一直以为waf不可以用,已经关掉了该站点的waf,可以正常使用了,另外即便是在waf里允许delete方法也不行

感谢反馈 我们排查一下

@wanghe-fit2cloud wanghe-fit2cloud changed the title [BUG] openresty反向代理delete方法返回405 May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants