全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 438|回复: 3

nginx https 正常 http 400

[复制链接]
发表于 2018-9-27 10:27:45 | 显示全部楼层 |阅读模式
  1. server
  2.     {
  3.         listen 80;
  4.         #listen [::]:80;
  5.         server_name xxx.tw www.xxx.tw;
  6.         index index.html index.htm index.php default.html default.htm default.php;
  7.         root  /home/wwwroot/wordpress;
  8.        ...
复制代码

  1. server
  2.     {
  3.         listen 443 ssl http2;
  4.         #listen [::]:443 ssl http2;
  5.         server_name xxx.tw www.xxx.tw;
  6.         index index.html index.htm index.php default.html default.htm default.php;
  7.         root  /home/wwwroot/wordpress;
  8.         ssl on;
  9.         ...
复制代码


https 没问题
http

400 Bad Request
The plain HTTP request was sent to HTTPS port
发表于 2018-9-27 10:36:17 | 显示全部楼层
The plain HTTP request was sent to HTTPS port
发表于 2018-9-27 10:39:59 来自手机 | 显示全部楼层
挂了cf之类的cdn了?
 楼主| 发表于 2018-9-27 10:45:38 | 显示全部楼层
qytang 发表于 2018-9-27 10:39
挂了cf之类的cdn了?

恩,挂了cf,但现在把cf关了还这样,用的dnspod
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-3-7 21:33 , Processed in 0.061047 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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