ELB 에서 https > http 로 변환해서 EC2 인스턴스로 넘겨줄경우, trusted proxy 처리를 해줘야한다.
app/Http/Middleware/TrustProxies.php
class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array */ protected $proxies = '*'; /** * The headers that should be used to detect proxies. * * @var string */ protected $headers = Request::HEADER_X_FORWARDED_AWS_ELB; }