<div dir="ltr">
<span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi NGINX Support</span><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">It will be very helpful to advise how can we add 2 different SSL for 2 URLs at the nginx configuration.</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">At present we have 2 configuration files for managing the URLs</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">At one of the configuration (Config file 01) file we have one site with SSL cert.</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">And at another configuration file(Config file 02) we have many domains with no cert.</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">What we want is to have a SSL cert to one of the domain at the 2nd configuration file that has many domains.</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><b>At Config File 01 the configuration example is as below with the SSL cert:</b></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"># SSL cert is declared globally as below:</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div>ssl_certificate /etc/nginx/sslSHA2_2015/<wbr>server.bundle.crt;</div><div>ssl_certificate_key /etc/nginx/sslSHA2_2015/<wbr>server.key; <br></div></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div>server {</div><div> listen 443 ssl;</div><div> server_name <span> </span><a href="http://site1.com:443/" target="_blank" style="color:rgb(17,85,204)">site1.com:443</a>;</div></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">........}</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><b style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">At Config File 02 the configuration example is as below that does not has any SSL cert:</b><span> </span><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div>server {</div><div> listen 80;</div><div> server_name<span> </span><a href="http://www.site2.ca/" target="_blank" style="color:rgb(17,85,204)">www.site2.ca</a><span> </span><a href="http://site2.ca/" target="_blank" style="color:rgb(17,85,204)">site2.ca</a>;</div><div> client_max_body_size 50M;</div><div> proxy_read_timeout 180s;</div></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">......}</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><div>server {</div><div> listen 80;</div><div> server_name<span> </span><a href="http://www.site3.ca/" target="_blank" style="color:rgb(17,85,204)">www.site3.ca</a><span> </span><a href="http://site3.ca/" target="_blank" style="color:rgb(17,85,204)">site3.ca</a>;</div><div> client_max_body_size 50M;</div><div> proxy_read_timeout 180s;</div></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">......}</div><div><br></div><div><br></div>Can you advise how can we add a SSL cert for one domain (example for<span> </span><a href="http://site2.ca/" target="_blank" style="color:rgb(17,85,204)">site2.ca</a>) in the config02 file and what changes we need to do in the config 01 file?</div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">Thanks</div>
<br></div>