A
A
Andrey2015-08-18 13:10:51
Nginx
Andrey, 2015-08-18 13:10:51

Nginx how to make HTTPS to HTTP?

Hello!
There is a subdomain ssl.ur.ru, and it has an ssl certificate.
When the address https://ssl.ur.ru is opened in the browser , it is redirected to ur.ru , this is how it should be.
And it is also necessary that when opening the address https://ur.ru or any other subdomain, a redirect to ur.ru occurs . Now issued: The certificate is valid only on ssl.ur.ru.
How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2015-08-18
@artful1

An HTTPS certificate is hardwired to a set of domains. Those. if it is issued only on ssl.ur.ru, then when using this certificate on any domain, there will be such an error. You need to issue a new certificate and include all subdomains on which you want to use it. Or write out separate certificates for them and use them.

3
3vi1_0n3, 2015-08-18
@3vi1_0n3

In the certificate, you can specify a field that includes a list of domains for which the specified certificate will be valid. Here , for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question