Closed sinkcup closed 5 years ago
SSL cert is on the load balancer, web servers are behind the load balancer, so Laravel can not check HTTPS.
solution:
php artisan vendor:publish # chose provider Fideloper\Proxy\TrustedProxyServiceProvider
edit config/trustedproxy.php:
config/trustedproxy.php
'proxies' => env('TRUSTED_PROXIES', '*'),
SSL cert is on the load balancer, web servers are behind the load balancer, so Laravel can not check HTTPS.
solution:
edit
config/trustedproxy.php
: