Browse Source

Add private subnets to trusted proxies for reverse proxy use

pull/357/head^2
KodeStar 6 years ago
committed by GitHub
parent
commit
dd2ca62eaf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/Http/Middleware/TrustProxies.php

2
app/Http/Middleware/TrustProxies.php

@ -12,7 +12,7 @@ class TrustProxies extends Middleware
* *
* @var array * @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. * The current proxy header mappings.

Loading…
Cancel
Save