Report this

What is the reason for this report?

How do i redirect from https to http with nginx?

Posted on May 16, 2019
cpp

By cpp

Hi, I work with a couple of sites, the clients could ask or not for a SSL certificate, so: some sites have SSL certificate from Let’s Encrypt and other don’t have one.

I work with a LEMP stack for the wordpress sites, but I ran into a problem: when you try to access one of the sites with no SSL certificate it redirects them to another with a SSL certificate. I was wondering if it is posible to redirect all of the accesses from https:// to http:// in a site with no SSL certificate?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.