Modern Mozilla Ssl Configuration With Nginx

Modern Mozilla SSL Configuration with Nginx

This guide will help you configure your Nginx SSL with modern Mozilla SSL Configuration.

Step 1: Navigate to Mozilla's SSL Configuration Generator

Generate a modern configuration for SSL, using the Mozilla SSL Configuration Generator.

  1. Navigate to https://ssl-config.mozilla.org/
  2. Select Nginx under Server Software
  3. Select Modern under Mozilla Configuration
  4. Mozilla Website Configuration
  5. Enter the Server Version and OpenSSSL Version in the Enviroment settings. Or leave as default for the latest versions
  6. Mozilla SSL enviroment configuration settings
  7. The modern SSL configuration for Nginx will be generated below
  8. Mozilla SSL Configurated SSL file
  9. Copy the contents of the gernerated text

Step 2: SSL Configuration

  1. Edit your Nginx SSL configuration file sudo nano /etc/nginx/sites-enabled/[YOUR-SITE].conf
  2. Paste the contents of the Mozilla SSL configuration
  3. Remember to modify the configuration so it fits your server