Laravel Redirect All Requests To HTTPS
Using App::before You might be able to take advantage of the App::before() block in the app/filters.php file. Change the block to include a simple check to see if the current request is secure, and if not, redirect it. App::before(function($request) { if( ! Request::secure()) { return Redirect::secure(Request::path()); } }); Using Filters Another option might be to … Read more