Fix `nginx: [emerg] BIO_new_file("/var/certs/cert1.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/var/certs/cert1.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)`
This commit is contained in:
parent
dcec8a46a8
commit
30cf27e011
|
@ -3,9 +3,9 @@ server {
|
||||||
listen 443 default_server;
|
listen 443 default_server;
|
||||||
listen [::]:443 default_server ipv6only=on;
|
listen [::]:443 default_server ipv6only=on;
|
||||||
|
|
||||||
ssl on;
|
#ssl on;
|
||||||
ssl_certificate /var/certs/cert1.pem;
|
#ssl_certificate /var/certs/cert1.pem;
|
||||||
ssl_certificate_key /var/certs/privkey1.pem;
|
#ssl_certificate_key /var/certs/privkey1.pem;
|
||||||
|
|
||||||
server_name laravel;
|
server_name laravel;
|
||||||
root /var/www/laravel/public;
|
root /var/www/laravel/public;
|
||||||
|
|
Loading…
Reference in New Issue