找回密码
 立即注册
CeraNetworksBGVM服务器主机交流IP归属甄别会员请立即修改密码
查看: 57|回复: 3

nginx https 正常 http 400

[复制链接]

70

主题

120

回帖

1074

积分

金牌会员

积分
1074
发表于 2018-9-27 10:27:45 | 显示全部楼层 |阅读模式
[ol]
  • server
  •     {
  •         listen 80;
  •         #listen [::]:80;
  •         server_name xxx.tw www.xxx.tw;
  •         index index.html index.htm index.php default.html default.htm default.php;
  •         root  /home/wwwroot/wordpress;
  •        ...
  • [/ol]复制代码
    [ol]
  • server
  •     {
  •         listen 443 ssl http2;
  •         #listen [::]:443 ssl http2;
  •         server_name xxx.tw www.xxx.tw;
  •         index index.html index.htm index.php default.html default.htm default.php;
  •         root  /home/wwwroot/wordpress;
  •         ssl on;
  •         ...
  • [/ol]复制代码

    https 没问题
    http

    400 Bad Request
    The plain HTTP request was sent to HTTPS port
  • 回复

    使用道具 举报

    9

    主题

    282

    回帖

    979

    积分

    高级会员

    积分
    979
    发表于 2018-9-27 10:36:17 | 显示全部楼层
    The plain HTTP request was sent to HTTPS port
    回复

    使用道具 举报

    41

    主题

    787

    回帖

    2478

    积分

    金牌会员

    积分
    2478
    发表于 2018-9-27 10:39:59 | 显示全部楼层
    挂了cf之类的cdn了?
    回复

    使用道具 举报

    70

    主题

    120

    回帖

    1074

    积分

    金牌会员

    积分
    1074
     楼主| 发表于 2018-9-27 10:45:38 | 显示全部楼层

    qytang 发表于 2018-9-27 10:39

    挂了cf之类的cdn了?

    恩,挂了cf,但现在把cf关了还这样,用的dnspod
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|HS2V主机综合交流论坛

    GMT+8, 2024-5-15 03:53 , Processed in 0.066987 second(s), 3 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表