Skip to content

[BUG] 站点开启SSL浏览器可访问,curl 失败 #5273

Closed Answered by zhengkunwang223
QYG2297248353 asked this question in Q&A
Discussion options

You must be logged in to vote

改成默认站点虽然正常了,可是我不想默认站点是它,治标不治本呀

编辑 /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;

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@wanghe-fit2cloud
Comment options

@QYG2297248353
Comment options

@QYG2297248353
Comment options

@zhengkunwang223
Comment options

Answer selected by QYG2297248353
@QYG2297248353
Comment options

@QYG2297248353
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #5272 on June 04, 2024 06:30.