NGINX: Is it possible to have two different SSLs pointing to the exact same webroot?
Newbie alert. Please be gentle.
I have a client who is going through a corporate rename so they currently have two URLs pointing to the same webroot on NGINX serving exactly the same content via PHP / Grav CMS. That’s all working fine. Clients can come in via http://www.companyname1.com or http://www.companyname2.com and they get exactly the same content and the client is happy.
I’m not sure how to approach this problem. Do I need two SSL certificates or can I get it accomplished with one?
Can I bind the two certificates to the same webroot (which sounds crazy to me).
Any help / thoughts would be appreciated as I’m kind of stuck here now.
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.×