DouQuQu
V2EX  ›  问与答

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

  •  
  •   DouQuQu · Mar 30, 2021 · 1872 views
    This topic created in 1892 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   ·   928 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:24 · PVG 04:24 · LAX 13:24 · JFK 16:24
    ♥ Do have faith in what you're doing.