简体   繁体   中英

Heroku SSL on subdomain for staging server

I have a production instance on Heroku where users go to https://secure.myapp.com for checkout. I used hostname-based SSL because $100 / month just isn't feasible for my client.

Now, I'm in a situation where I need a staging environment ( http://myapp-staging.herokuapp.com ) and the SSL / subdomain stuff just doesn't work (" secure " replaces " myapp-staging ") when going to the checkout, and the SSL cert I purchased won't work since it's keyed to myapp.com .

Can anyone please advise on what the most affordable setup is given this situation?

Thank you!

If need to replicate your production environment that closely then your only option is to setup and pay for the same SSL that you have in production.

An alternative might be to configure your application so that it's not reliant on 'secure.' and use the piggyback SSL addon.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM