https
-
Laravel with SSL through Cloudflare on Heroku.
I deployed a Laravel app on Heroku, using Cloudflare for SSL. As a quick note, here’s how I did it. NOTE: if you’re using Laravel 5.4 or higher it’s forceScheme instead of forceSchema Also, you need to set your Laravel environment variable APP_ENV to production (or at least something else than local). Do this in…
-
(PHP) Allow Composer to connect to http/https
If you have problems with Composer not allowing to update to http-connections add this to composer.json (not recommended to keep in production) [js] config : { "secure-http" : false } [/js]