为什么装了证书之后登陆 http 域名能访问但是 https 域名缺显示 it works

2016-03-15 14:18:04 +08:00
 evin

自己搭的网站 注册了沃通证书 也开始了 https 但是 访问 http 网站 可以正常打开但是 https 网站却显示 it works ! 。。。。。。

3661 次点击
所在节点    Linux
6 条回复
ohahaha
2016-03-15 14:23:09 +08:00
https http 访问的端口不一样
yeyeye
2016-03-15 14:25:52 +08:00
把配置文件发出来
Strikeactor
2016-03-15 14:27:03 +08:00
https 的配置指到 Nginx 默认目录去了吧
evin
2016-03-15 14:53:20 +08:00
@Strikeactor @yeyeye @ohahaha 我的网站在 wwwroot/default 文件夹下 index.php http://7xn8ke.com1.z0.glb.clouddn.com/httpd.conf
evin
2016-03-15 14:58:33 +08:00
@ohahaha 但是我爸 listen 端口从 80 改成 443 访问 https 还是 it works
evin
2016-03-15 15:03:04 +08:00
@Strikeactor @yeyeye @ohahaha 懂了懂了 想起来 /usr/local/apache/conf/extra/httpd-ssl.conf 这个文件没有设置 目录

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/263630

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX