SSL on nginx
Jump to navigation
Jump to search
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. ``