问题
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.
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?
回答1:
You can add as many domains/certificates as you want to an app.
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.
来源:https://stackoverflow.com/questions/62799550/how-to-route-multiple-certificates-to-one-flynn-application