Answer the question
In order to leave comments, you need to log in
How to catch multiple https requests with nginx?
I have several servers, one of them has nginx that proxies requests to other servers, it also has all ssl certificates, I ran into a problem out of ignorance
when I type the path https://mysite.com/ by default port 443 is used , which in the configs that auto-generates certbot writes like this
listen [::] 443 ssl ...
listen 443 ...
server {
listen 8007;
Answer the question
In order to leave comments, you need to log in
You need to add ssl:
server {
listen 8007 ssl;
and it's not at all clear how to send people to the same port 443 to different sites
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question