NGINX报错
环境:Debian 10 buster安装包:lnmp v1.8安装前配置:
添加了一个NGINX模块,不知格式是否正常
lnmp.conf
Nginx_Modules_Options='--with-http_realip_module'
安装完成报错:
nginx: 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)
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
解决了 是迁移之后没有重新添加虚拟主机 没有自签证书所导致https://cdn.jsdelivr.net/gh/hishis/forum-master/public/images/patch.gif
页:
[1]