Nginx SSL Configuration

Let’s say we have an Nginx virtual host like following

To make it SSL enabled, add the following to the server entry.

ssl_client_certificate introduced in Nginx version 1.19.4. If you are using an older version, add your ca-bundle after SSL certificate.

Example

SSL protocols

dhparam

Create

In your nginx config, add

Redirect Traffic to SSL

If you don’t want to redirect SSL verification requests to HTTPS, use

Disable TLSv1 in Nginx
Nginx Proxy SSL Verification
Nginx Redirect HTTP to HTTPS

See Nginx

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *