V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
evin
V2EX  ›  Linux

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

  •  
  •   evin · Mar 15, 2016 · 4246 views
    This topic created in 3697 days ago, the information mentioned may be changed or developed.

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

    6 replies    2016-03-15 15:03:04 +08:00
    ohahaha
        1
    ohahaha  
       Mar 15, 2016
    https http 访问的端口不一样
    yeyeye
        2
    yeyeye  
       Mar 15, 2016 via Android
    把配置文件发出来
    Strikeactor
        3
    Strikeactor  
       Mar 15, 2016
    https 的配置指到 Nginx 默认目录去了吧
    evin
        4
    evin  
    OP
       Mar 15, 2016
    @Strikeactor @yeyeye @ohahaha 我的网站在 wwwroot/default 文件夹下 index.php http://7xn8ke.com1.z0.glb.clouddn.com/httpd.conf
    evin
        5
    evin  
    OP
       Mar 15, 2016
    @ohahaha 但是我爸 listen 端口从 80 改成 443 访问 https 还是 it works
    evin
        6
    evin  
    OP
       Mar 15, 2016
    @Strikeactor @yeyeye @ohahaha 懂了懂了 想起来 /usr/local/apache/conf/extra/httpd-ssl.conf 这个文件没有设置 目录
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5495 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 08:47 · PVG 16:47 · LAX 01:47 · JFK 04:47
    ♥ Do have faith in what you're doing.