M
M
Michael2021-01-24 23:24:14
Nginx
Michael, 2021-01-24 23:24:14

How to properly configure reverse proxy from https to https on nginx?

I can’t overcome Haproxy - somehow it behaves unpredictably with an increase in the number of sites that proxies
I want to try Nginx
So the question is - in the overwhelming majority of cases in tutorials they use (as examples) hhtps --> http
I just need to proxy https traffic <----> https , i.e. the existing pool of sites themselves work out ssl obtaining a certificate, most of the manuals contradict each other or just copy-paste.
Please advise the correct syntax.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-01-24
@ky0

Nothing will work on the last nginx without a fully configured certificate - we are going to proxy HTTP, and not just TCP. Terminating encryption and obtaining certificates for all sites in one place is a logical and often used solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question