Laravel force SSL gives 'This webpage has a redirect loop'
问题 I'm using Laravel 4.1, and want to force SSL site wide. My app is deployed on Heroku. Added this to either App::before or as a filter: if( ! Request::secure()) { return Redirect::secure(Request::path()); } But that gives me 'This webpage has a redirect loop' message. If I access some page by typing in https:// by hand, it serves that page correctly; but any link or form action is pointed to http:// , which I don't want. Also, I tried to add https parameter to some route, e.g.: Route::get(