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.
Link:
This post is submitted by our members. Submit a new post.
Tags: Tutorials Laravel 5.1 Laravel 5