How to route multiple certificates to one Flynn application?

守給你的承諾、 提交于 2020-12-13 04:58:07

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!