S
S
Sergey2016-07-18 12:59:38
Nginx
Sergey, 2016-07-18 12:59:38

How to run nginx http and https servers on the same ip for different sites?

Good afternoon, there is a server with one white ip, there are 2 projects example.com and new.example.com, the example.com project uses https by default and everything was fine until they gave the task to place new.example.com but on http, How can I implement this task on nginx?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-07-18
@mrmoney

As an option - get one certificate for three domains: example.com, www.example.com, new.example.com
Otherwise - dig in the direction of SNI.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question