2016/03/21 16:57:10 [emerg] 30420#29876: BIO_new_file("C:
ginx-1.9.9ssl1_domain_bundle.crt") failed (SSL: error:0200107B:system library:fopen:Unknown error: fopen('C:
ginx-1.9.9ssl1_domain_bundle.crt','r') error:2006D002:BIO routines:BIO_new_file:system lib)
2016/03/21 16:57:11 [alert ] 29884#31740: worker process 30420 exited with code 1
2016/03/21 16:57:11 [alert] 29884#31740: could not respawn worker
2016/03/21 16:57:28 [emer g] 28212#30316: BIO_new_file("C:
ginx-1.9.9ssl1_domain_bundle.crt") failed (SSL: error:0200107B:system library:fopen:Unknown error:fopen('C:
ginx-1.9 .9ssl1_domain_bundle.crt','r') error:2006D002:BIO routines:BIO_new_file:system lib)
Problem analysis: As long as the absolute path is written, an error will be reported, regardless of windows or Linux, it is suspected that the path is wrong Dealing with the problem
Solution
Under windows, place the certificate file in the conf directory,
Under Linux, place the certificate file in the directory where nginx.conf is located
The above introduces the nginx certificate filling path error: library:fopen:Unknown error:fopen, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.