dcsimg
Linux Today: Linux News On Internet Time.





How to use Nginx to redirect all traffic from http to https

Nov 24, 2020, 08:00 (0 Talkback[s])
(Other stories by Korbin Brown)

If your website is hosted with NGINX and it has SSL enabled, it's best practice to disable HTTP completely and force all incoming traffic over to the HTTPS version of the website. This avoids having duplicate content and ensures that all of the site's users are only browsing the secure version of your website. You should also see an SEO boost, as search engines prefer non-redundant and secured web pages.

Complete Story