user11528872
user11528872

Reputation:

HTTP redirects to HTTPS even though on free dyno

For some reason, even though I'm using the free dyno, my website still redirects http to https. This is what I want to happen, but I just don't understand why it is, since doesn't this only work for paid dynos?

(I'm using Django and followed this guide to do the redirecting.)

But why does HTTPS work at all? Don't I need a certificate/paid dyno for that? I'm using a Heroku subdomain.

Upvotes: 0

Views: 145

Answers (1)

Chris
Chris

Reputation: 136880

Since you are using a .herokuapp.com subdomain you automatically get HTTPS support, even on free dynos:

SSL is always enabled for .herokuapp.com for Common Runtime apps.

You only need to use ACM, SSL, or the SSL Endpoint for custom domains. And yes, this is included with paid dynos.

Upvotes: 1

Related Questions