V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
evin
V2EX  ›  Linux

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

  •  
  •   evin · 2016-03-15 14:18:04 +08:00 · 3592 次点击
    这是一个创建于 2975 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    6 条回复    2016-03-15 15:03:04 +08:00
    ohahaha
        1
    ohahaha  
       2016-03-15 14:23:09 +08:00
    https http 访问的端口不一样
    yeyeye
        2
    yeyeye  
       2016-03-15 14:25:52 +08:00 via Android
    把配置文件发出来
    Strikeactor
        3
    Strikeactor  
       2016-03-15 14:27:03 +08:00
    https 的配置指到 Nginx 默认目录去了吧
    evin
        4
    evin  
    OP
       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
        5
    evin  
    OP
       2016-03-15 14:58:33 +08:00
    @ohahaha 但是我爸 listen 端口从 80 改成 443 访问 https 还是 it works
    evin
        6
    evin  
    OP
       2016-03-15 15:03:04 +08:00
    @Strikeactor @yeyeye @ohahaha 懂了懂了 想起来 /usr/local/apache/conf/extra/httpd-ssl.conf 这个文件没有设置 目录
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3072 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:30 · PVG 23:30 · LAX 08:30 · JFK 11:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.