--- #5273
---
#5273
-
|
|
Beta Was this translation helpful? Give feedback.
Answered by
zhengkunwang223
Jun 4, 2024
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
2 replies
-
|
你说改默认站点就正常了,因为你实际上是使用IP进行HTTPS握手,这个HTTPS握手不走Host标头,此时的握手信息的servername是空。 你只能改系统的hosts文件再直接用域名握手,这样就匹配正确的站点了。 这个讨论可以关了,这不是BUG。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
编辑 /opt/1panel/apps/openresty/openresty/conf/conf.d/00.default.conf
删除
map "" $empty {
default "";
}
listen 443 ssl http2;
ssl_ciphers aNULL;
ssl_certificate data:$empty;
ssl_certificate_key data:$empty;
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;