VPS侦探论坛

 找回密码
 注册
查看: 3952|回复: 1

NGINX报错

[复制链接]
发表于 2021-7-29 18:34:39 | 显示全部楼层 |阅读模式

环境:Debian 10 buster安装包:lnmp v1.8
安装前配置:
添加了一个NGINX模块,不知格式是否正常
lnmp.conf
  1. Nginx_Modules_Options='--with-http_realip_module'
复制代码


安装完成报错:
  1. nginx: [emerg] BIO_new_file("/usr/local/nginx/conf/ssl/dhparam.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/nginx/conf/ssl/dhparam.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  2. nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
复制代码



美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-7-29 19:18:49 | 显示全部楼层


解决了 是迁移之后没有重新添加虚拟主机 没有自签证书所导致
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 20:18 , Processed in 0.026235 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表