Question

Multiple SSL Certificate with Nginx on Centos 6.3

  • Posted February 23, 2013

Do you have instructions for setting this up? If yes, then does this means that I can host several domains in a droplet with only one IP with standard domains and the ones with SSL Certificate mixed together? Something like:

  1. domainone.com (SSL)
  2. domaintwo.com (normal)
  3. domainthree.com (SSL)

all using the same IP 111.222.333.444

Thank you.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Setting up multiple SSL certs on a single IP with Nginx is rather simple using SNI and just requires adding the additional server { } definitions. <br> <br>We have an article on how to do that in Ubuntu and you can just follow the nginx configuration portion for that: <br> <br>https://www.digitalocean.com/community/articles/how-to-set-up-multiple-ssl-certificates-on-one-ip-with-nginx-on-ubuntu-12-04