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.
Nginx – Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Nginx.
Tutorial Nginx – Disable SSL, TLS 1.0, and TLS 1.1
Install the Nginx server.
Edit the Nginx configuration file for the website.
On the HTTPS area, add the following lines to this configuration file.
Make sure that you have an HTTPS website configured on the Nginx server.
As an example, here is our configuration file.
Restart the Nginx service.
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.
Here is the command output.
Here is the command output.
Here is the command output.
Congratulations! You enabled the use of TLS 1.2 and TLS 1.3 on the Nginx server.