Add private subnets to trusted proxies for reverse proxy use

This commit is contained in:
KodeStar 2019-06-11 11:00:44 +01:00 committed by GitHub
parent 4980bfab12
commit dd2ca62eaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ class TrustProxies extends Middleware
*
* @var array
*/
protected $proxies;
protected $proxies = ['192.168.0.0/16', '172.16.0.0/12','10.0.0.0/8'];
/**
* The current proxy header mappings.