Answer the question
In order to leave comments, you need to log in
nginx. How to set up an https connection on a virtual machine if requests for it go through the gateway (nginx also processes requests on the gateway)?
Hello. I have a question about solving the following problem:
1) There is a gateway (nginx is installed on it). There is the following configuration:
server {
server_name example.com;
location \ {
proxy_pass 192.168.1.2 ;
}
}
server {
listen 80;
server_name example.com;
...
location / {
uwsgi_pass socket location here ;
}
}
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