6

I'm due to handover a project to a client, however they've requested that all requests go over https.

I have purchased a wildcard SSL certificate, however the application in whole is launched under 2 different heroku applications. (app/auth)

Am I correct in thinking that I will need 2 SSL endpoints or can I use the same SSL endpoint for both applications?? if so how?

update from comments For example:

app.domain.com
auth.domain.com

I assume that this works due to the Wildcard SSL - a standard SSL certificate would not work here for obvious reasons.

4

1 回答 1

16

Since both applications share the same domain, you can use one SSL endpoint.

  • Add the SSL endpoint to one app.
  • Add cname's for each application domain that point to the Heroku SSL endpoint
  • Add the domains for each app with heroku domains:add DOMAIN

Heroku will handle the routing to each application via the SSL endpoint.

于 2013-07-10T18:57:18.270 回答