linux corporate real -Nginx real case (6) https implementation

Nginx.conf modified configuration add the following code

Enter the cert

make cert.pem. and fill in the relevant information

Then copy the file to cert.pem user / local go

Then create a file / web

And write

Then check whether the correct rewrite

Page test

Apache achieve the function

 

Published 102 original articles · won praise 14 · views 2355

Guess you like

Origin blog.csdn.net/qq_41871875/article/details/104539581
Recommended