Answer the question
In order to leave comments, you need to log in
Why does nginx only process requests in the first server directive?
server {
server_name chart.${NGINX_DOMAIN};
listen 443 ssl;
ssl_certificate /var/certs/localhost.crt;
ssl_certificate_key /var/certs/localhost.key;
#Тут locations...
}
server {
server_name sample.${NGINX_DOMAIN};
listen 443 ssl;
ssl_certificate /var/certs/localhost.crt;
ssl_certificate_key /var/certs/localhost.key;
#Тут locations...
}
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