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:
Mahmoud Zalt 2017-03-16 15:56:37 -04:00
parent dcec8a46a8
commit 30cf27e011
1 changed files with 3 additions and 3 deletions

View File

@ -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;