Why does APP_URL's protocol get ignored?
Created 7 years ago by mazedlxHi there!
in my .env
I've set APP_URL=https://mysite.net
but the https gets ignored, every link that is displayed gets served as http. What am I doing wrong? Forcing \URL::forceSchema('https');
in Laravel's AppServiceProvider.php
s boot()
method doesn't work either. Any help would be greatly appreciated.
mazedlx
—
7 years ago
Thank you for your reply. Where do I go from here? I open https://mysite.net and all links from navigation to relative ones get served as http. I could live with hard-coding https, but where do I start?
I believe this is only used during Artisan commands. Otherwise the host / protocol is used from the request.