How to set trusted proxies for Laravel
Laravel 5 has a much nicer system for Middleware, which this package now takes advantage of.
New features include:
TrustedProxies are now set as in an HTTP Middleware, which makes more logical sense than the previous ServiceProvider. If you’re unsure what that means, remember to “Just Trust Fideloper™”. You can now set the trusted header names. This is useful for proxies that don’t use the usual X-Forwarded-* headers.
This post is submitted by one of our members. You may submit a new post here.