V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
DouQuQu
V2EX  ›  问与答

[宝塔] 新添站点或者其他操作,都会出现配置问题

  •  
  •   DouQuQu · Mar 30, 2021 · 1812 views
    This topic created in 1859 days ago, the information mentioned may be changed or developed.

    安装 SSL,但是没有安装成功,之后就没没动感过,现在新添站点或者其他功能操作都会出现以下代码,请问如何处理呢?

    nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /www/server/panel/vhost/nginx/域名.conf:2 nginx: configuration file /www/server/nginx/conf/nginx.conf test failed

    1 replies    2021-03-31 10:35:07 +08:00
    loux
        1
    loux  
       Mar 31, 2021
    /www/server/panel/vhost/nginx/域名.conf 这个文件里的 listen 443 和 ssl 相关的删掉
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2468 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 08:44 · PVG 16:44 · LAX 01:44 · JFK 04:44
    ♥ Do have faith in what you're doing.