How to route multiple certificates to one Flynn application?

244 Views Asked by At

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

There are 1 best solutions below

3
On

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.