问题描述
这篇文章显示了如何向应用程序添加证书,我的问题是,有没有一种方法可以将非通配符和通配符证书的多个证书添加到单个应用程序.
This post shows how to add a certificate to an application, my question, is there a way to add multiple certificates both non-wildcard and wildcard certificate to a single application.
例如,我有一个名为 websites
的应用程序,在该应用程序中有多个网站,是否可以使用Flynn为此应用程序设置多个证书?
For example, I have an app called websites
where it is home to multiple websites, is it possible to set several certificates to this application using Flynn?
推荐答案
您可以向应用程序添加任意数量的域/证书.
You can add as many domains/certificates as you want to an app.
使用 flynn路由添加http $ DOMAIN -c $ CERTIFICATE_PEM_FILE -k $ KEY_PEM_FILE
命令添加其他路由.您可以通过检查HTTP Host
标头来区分对应用程序的请求中的路由.
Use the flynn route add http $DOMAIN -c $CERTIFICATE_PEM_FILE -k $KEY_PEM_FILE
command to add additional routes. You can distinguish between routes in requests to the app by checking the HTTP Host
header.
这篇关于如何将多个证书路由到一个Flynn应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!