Cannot get TrustProxies middleware to work
问题 After pointed in the right direction here Laravel 5.4 relative instead of absolute 302 redirects I've been trying to get Laravel TrustProxies middleware to work, but seems to be ignoring X_FORWARDED_PROTO header. My scenario My app in Laravel (just upgraded from 5.4 to 5.5) is behind a load balancer, which translates all traffic from HTTPS to HTTP. My problem All redirects are going over HTTP instead of original protocol HTTPS. Attempted Solution Upgrade from Laravel 5.4 to 5.5 and take