I
I
Ilya Trusov2016-03-29 21:18:24
Digital certificates
Ilya Trusov, 2016-03-29 21:18:24

How to allow both protocols (https and https) at once?

Hello. There is a service (namely RESTFULL API), debian 7 and nginx. It used to be just http, now they made https, everything is fine. But if you access via http, it does not work. How to allow two protocols to work at once?
PS API on Codeigniter RESTFULL API.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DuD, 2016-03-30
@artgrosvil

Well, what exactly is the problem? 2 configs for nginx in one http in the second https. They look at the same directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question