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.

 

Be First to Comment

    Leave a Reply

    Your email address will not be published.