V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
DouQuQu
V2EX  ›  问与答

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

  •  
  •   DouQuQu · 2021-03-30 22:42:44 +08:00 · 1083 次点击
    这是一个创建于 1129 天前的主题,其中的信息可能已经有所发展或是发生改变。

    安装 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 条回复    2021-03-31 10:35:07 +08:00
    loux
        1
    loux  
       2021-03-31 10:35:07 +08:00
    /www/server/panel/vhost/nginx/域名.conf 这个文件里的 listen 443 和 ssl 相关的删掉
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2435 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:46 · PVG 21:46 · LAX 06:46 · JFK 09:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.