S

Redirect HTTP Requests To HTTPS On Nginx

This Quickstart guide describes how to redirect non-secure **HTTP** requests to secure **HTTPS** on Nginx. - You have a Vultr Linux instance running Nginx. - You have a domain name (e.g example.com), whose DNS A records for "@" and "www" point to the IP of your instance. - Ideally, you should also have a valid SSL certificate installed on your instance. See our guide to install a free Let's Encrypt certificate. Locate your server block configuration file. By default, this is **/etc/nginx/nginx.c......

Comments