---

How to Redirect HTTP Traffic to HTTPS in Nginx and Apache

In this tutorial, we will show you how to redirect HTTP traffic to HTTPS in Nginx and Apache. You should always use HTTPS instead of HTTP to protect your website, even if it doesn’t handle sensitive communications.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis