1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[FEATURE] 关于反向代理添加SNI的一个小问题

Open cli-r opened this issue 1 year ago • 1 comments

1Panel 版本

v1.10.13-lts

请描述您的需求或者改进建议

在 #3898 和 #5535 中提到添加 proxy_ssl_server_name on | off; 参数用以反向代理HTTPS的网站,但是在实际测试中只添加本参数并不能正确的加载网站,还应添加 proxy_ssl_name example.com 参数,否则会出现502错误。

请描述你建议的实现方案

No response

附加信息

复现方法:反向代理1panel创建的https网站,未开启1panel面板中的回源 SNI选项,开启回源SNI但是未添加proxy_ssl_name,开启回源SNI并添加proxy_ssl_name,前两者均为502。

cli-r avatar Jul 27 '24 16:07 cli-r

感谢你的反馈,我们会在后续版本中考虑你的建议。

wanghe-fit2cloud avatar Jul 28 '24 02:07 wanghe-fit2cloud

v1.10.19-lts 版本已发布。

wanghe-fit2cloud avatar Oct 15 '24 10:10 wanghe-fit2cloud