Nginx: Force HTTPS. - This Interests Me
thisinterestsme.com › nginx-force-httpsThis is a guide on how to force HTTPS on an Nginx web server. To do this, we will need to tell Nginx to redirect all non-HTTPS traffic on port 80 to port 443. This is because 443 is the standard TCP port for SSL. 301 Redirect. When forcing HTTPS, it important that you use a 301 Redirect. A 301 Redirect tells search engines that a resource has ...