Guides 11791 Published by

Unixcop published a tutorial about how to redirect HTTP to HTTPS in Nginx.



How to redirect HTTP to HTTPS in Nginx

In this short but useful post, you will learn how to redirect HTTP to HTTPS in Nginx. This is to force us to always use a secure protocol. Is this useful? Yes, it is. This happens on very exposed websites where we need all connections to go through HTTPS.



How to redirect HTTP to HTTPS in Nginx - Unix / Linux the admins Tutorials