Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
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.
How to Redirect HTTP Traffic to HTTPS in Nginx and Apache
March 8, 2017
0
Tips and Tricks
Facebook0
Twitter1
Google+1
Linkedin2
http to https
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. The main reasons to use HTTPS are:
Security – this is the main and most important reason to use HTTPS, all communications between the visitor’s browser and the website are encrypted.
SEO – Google uses HTTPS as a ranking signal, which means that if your website is using HTTPS it may get a certain boost in Google rankings.
Browser warnings – if you are not using HTTPS, Google Chrome and other browsers will flag your site as “Not Secure”.
Trustworthiness – people usually trust a website much more if they have an SSL certificate.
To use HTTPS, you’ll need an SSL Certificate. You can get a VPS from us and we’ll install the certificate for you and properly configure Nginx/Apache to redirect all traffic to HTTPS, free of charge.
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help