From 30cf27e011eb2d2c4f47f67fa783b00d63f208b5 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Thu, 16 Mar 2017 15:56:37 -0400 Subject: [PATCH] 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)` --- nginx/sites/laravel-https.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx/sites/laravel-https.conf b/nginx/sites/laravel-https.conf index 0704dbf..2c0b0bf 100644 --- a/nginx/sites/laravel-https.conf +++ b/nginx/sites/laravel-https.conf @@ -3,9 +3,9 @@ server { listen 443 default_server; listen [::]:443 default_server ipv6only=on; - ssl on; - ssl_certificate /var/certs/cert1.pem; - ssl_certificate_key /var/certs/privkey1.pem; + #ssl on; + #ssl_certificate /var/certs/cert1.pem; + #ssl_certificate_key /var/certs/privkey1.pem; server_name laravel; root /var/www/laravel/public;