quarks
quarks

Reputation: 35346

How to route multiple certificates to one Flynn application?

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?

Upvotes: 1

Views: 240

Answers (1)

titanous
titanous

Reputation: 3678

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.

Upvotes: 1

Related Questions