Press "Enter" to skip to content

Force https using nginx configuration

Web has been closing in to https protocol ditching previous ones. Most of the top websites have migrated already to https. And for a number of good reasons, this is necessary.

Following is the simple snippet in nginx to force using https.

 

One Comment

Leave a Reply

Your email address will not be published.