Answer the question
In order to leave comments, you need to log in
Where, when proxying, should the certificate be installed?
I use the following construct in Nginx settings to redirect requests to Tornado server
server {
listen 80;
listen [::]:80;
server_name my.ru;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443;
listen [::]:443;
server_name my.ru;
location / {
proxy_pass https://localhost:22817/;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question