我的应用程序是Laravel应用程序,它在Nginx上运行,由Forge提供,而SSL证书由CloudFlare提供。
它托管在https://www.myapp.com这样的URL上
我的应用程序的客户是企业,并且已经拥有他们的域:
https://www.customer1.com
https://www.customer2.com
https://www.customer3.com
etc.
我希望我的客户从他们选择的子域中运行MyApp:
https://some-name.customer1.com
https://some-other-name.customer2.com
https://any-name-they-want.customer3.com
etc.
我的客户应该 不 安装任何东西-MyApp仍在myapp.com上运行,而不是在其服务器上运行
我的客户应该仅 (如果可能)修改其DNS,可能添加一个类似于“ some-name”的CNAME指向“ myapp.com”
我关注了这篇惊人的文章:Dynamic custom domain routing in Laravel。
但是我无法在https(带有SSL)环境中使用它-浏览器返回:
This site can’t provide a secure connection
some-name.customer1.com uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
The client and server don't support a common SSL protocol version or cipher suite.
应如何配置Nginx和/或SSL证书?