problem description
how does nginx configure https correctly for the second project under tomcat
the platform version of the problem and what methods you have tried
Baidu query says to listen to port 443,
but why another project listens to port 80 and can be configured successfully?
related codes
/ / Please paste the code text below (do not replace the code with pictures)
server
{
-sharp
listen 80;
-sharplisten 443 ssl;
server_name b.xxxxxx.com;
-sharpssl on;
ssl_certificate cert bundle.crt;
ssl_certificate_key bundle.key;
location / {
-sharp....
proxy_pass http://localhost:8080/dms/;
}
client_max_body_size 50m;
}
server
{
-sharp
listen 80;
server_name a.xxxxxx.com;
location / {
proxy_pass http://localhost:8080;
}
client_max_body_size 80m;
}