Difference between revisions of "SSL on nginx"

From openwfm
Jump to navigation Jump to search
(Created page with "https://nginx.org/en/docs/http/configuring_https_servers.html server { listen 80; listen 443 ssl; server_name www.example.com;...")
 
(https://phoenixnap.com/kb/letsencrypt-nginx)
 
Line 13: Line 13:
 
cat your_domain.crt intermediate.crt root.crt >> ssl-bundle.crt
 
cat your_domain.crt intermediate.crt root.crt >> ssl-bundle.crt
 
save the ssl-bundle.crt file in the etc/ssl directory.
 
save the ssl-bundle.crt file in the etc/ssl directory.
 +
``
 +
 +
https://phoenixnap.com/kb/letsencrypt-nginx

Latest revision as of 06:07, 3 September 2020

https://nginx.org/en/docs/http/configuring_https_servers.html

server {

   listen              80;
   listen              443 ssl;
   server_name         www.example.com;
   ssl_certificate     www.example.com.crt;
   ssl_certificate_key www.example.com.key;
   ...

}

following https://phoenixnap.com/kb/install-ssl-certificate-nginxm certificate goes in cat your_domain.crt intermediate.crt root.crt >> ssl-bundle.crt save the ssl-bundle.crt file in the etc/ssl directory. ``

https://phoenixnap.com/kb/letsencrypt-nginx