Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

iagorios's avatar

ERR_TOO_MANY_REDIRECTS after forcing SSL secure routes

I followed the discussion https://laracasts.com/discuss/channels/laravel/force-ssl-secure-routes-in-laravel-52?page=1 to force SSL secure routes.

From what I've seen it works. However, I'm getting ERR_TOO_MANY_REDIRECTS when I deploy my app to Heroku.

I'm using the free TLS certificate (Let's encrypt) from Heroku. And also, I'm using wwwizer to redirect my naked domain to www.

My Laravel version is 5.3

0 likes
5 replies
iagorios's avatar

I'm getting the same error after using TrustedProxy

Snapey's avatar

have you removed the redirect from http to https?

Please or to participate in this conversation.