Would you like to learn how to disable SSL, TLS 1.0, and TLS 1.1 on the Nginx server? In this tutorial, we are going to show you how to enable the use of TLS 1.2 and TLS 1.3 on the Nginx server.

• Ubuntu 18
• Ubuntu 19
• Ubuntu 20
• Nginx 1.18.0

In our example, the Nginx server is hosting the website WWW.GAMEKING.TIPS.

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Tutorial Nginx – Disable SSL, TLS 1.0, and TLS 1.1

Install the Nginx server.

Copy to Clipboard

Edit the Nginx configuration file for the website.

Copy to Clipboard

On the HTTPS area, add the following lines to this configuration file.

Copy to Clipboard

Make sure that you have an HTTPS website configured on the Nginx server.

As an example, here is our configuration file.

Copy to Clipboard

Restart the Nginx service.

Copy to Clipboard

In our example, the Nginx server will only accept the protocols TLS 1.2 and TLS 1.3.

In our example, the Nginx server will only accept strong encryption algorithms.

From a remote computer, test an Nginx connection using TLS 1.1.
Copy to Clipboard

Here is the command output.

Copy to Clipboard
From a remote computer, test an Nginx connection using TLS 1.2.
Copy to Clipboard

Here is the command output.

Copy to Clipboard
From a remote computer, test an Nginx connection using TLS 1.3.
Copy to Clipboard

Here is the command output.

Copy to Clipboard

Congratulations! You enabled the use of TLS 1.2 and TLS 1.3 on the Nginx server.