F
F
Fyodor Buzinov2015-04-14 12:52:57
css
Fyodor Buzinov, 2015-04-14 12:52:57

Nginx: redirect from https to http?

Hello!

Made a redirect

server {
   listen 443;
   server_name test.ru www.test.ru;
   rewrite ^(.*) http://test.ru$1 permanent;
}


The redirect works, but before throwing it, in the opera
9e43a30c9a464d13814c8667186dc381.png

, it also displays a page in firefox that the certificate is not signed and you need to agree to continue or not.

Tell me, is it possible to make it so that there would immediately be a redirect to http without additional messages from the browser?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
B
Brake Made, 2018-03-29
@MegaPuxapb

Why reinvent the wheel? Use flexMenu

P
Peter Bishop, 2018-03-29
@Peter_Bishop

For example.

A
Alexander, 2018-03-29
@kentuck1213

simple Java Script, hang a resize event on an element.

O
OnYourLips, 2015-04-14
@Feduch

You need to add a signed certificate.

F
Fyodor Buzinov, 2015-04-14
@Feduch

startssl.com managed to get here, the service is sometimes overloaded.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question