Answer the question
In order to leave comments, you need to log in
How to make a 301 redirect from HTTPS to HTTP without a certificate?
Good afternoon.
Previously, there was a certificate on the domain, there was a redirect from http to https. Currently there is no SSL certificate. Is it possible to somehow redirect from HTTPS to HTTP using NGINX without it?
Answer the question
In order to leave comments, you need to log in
You can't do it without a certificate. If there is no certificate, get a free one, for example, via https://letsencrypt.org/
the task is not solved in principle, neither by means of nginx, nor by any others. a redirect instruction is issued by the server in response to an https request, which cannot be processed without a server certificate. eudj1n
's
advice is good advice. let's encrypt has proven to be quite good.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question