-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Bug] The problem that the website reverse proxy cannot be deleted #7701
Comments
2025-01-11_11-03-22.mp4But when I saved it, there was no error and it could be used normally. I have done this on multiple servers and it was normal. I only discovered this problem when I wanted to delete a grpc reverse proxy today. |
The environment is very simple, it is a newly installed debian12, installed OpenResty through 1panel, and then added a reverse proxy website to the website. Because I have deployed services on several servers and the environment is not easy to provide, I will record a complete video. |
2025-01-11_11-22-37.mp4这是从添加网站开始到删除反向代理的整个流程,考虑到隐私部分画面遮挡了,但是应该不影响理解 |
2025-01-11_11-22-37.mp4This is the entire process from adding a website to deleting the reverse proxy. Some parts of the screen are blocked due to privacy considerations, but it should not affect understanding. |
看到视频了 后面我们把接口的校验处理一下应该就可以了 |
It's a bit strange that it can't be reproduced locally. Take a screenshot to see what error is reported after deleting it. |
请求参数错误: Key: 'WebsiteProxyConfig.ProxyPass' Error:Field validation for 'ProxyPass' failed on the 'required' tag Key: 'WebsiteProxyConfig.ProxyHost' Error:Field validation for 'ProxyHost' failed on the 'required' tag 这是报错信息,就是删除的时候配置中相关反向代理的字段找不到,就不让删除了 |
Contact Information
[email protected]
1Panel Version
v1.10.23-lts
Problem Description
通过面板安装了OpenResty后,在网站中添加反向代理,如果手动把反向代理的proxy_pass修改为grpc_pass,例如下图
就无法在面板中删除该反向代理,需要手动把grpc_pass改回到proxy_pass才能够删除。
Steps to Reproduce
1、网站添加反向代理,按要求输入必填项
2、点击该反向代理的源文,将proxy_pass修改为grpc_pass,例如下图
3、保存后,尝试在面板中删除该反向代理,面板报错
4、手动将grpc_pass改回到proxy_pass,保存后再尝试在面板中删除该反向代理,成功删除
The expected correct result
No response
Related log output
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: