Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2518302
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
841 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/app/Http/Middleware/TrustProxies.php b/src/app/Http/Middleware/TrustProxies.php
index c8fa0d98..19ef0ca8 100644
--- a/src/app/Http/Middleware/TrustProxies.php
+++ b/src/app/Http/Middleware/TrustProxies.php
@@ -1,28 +1,23 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string
*/
- protected $proxies = [
- '10.0.0.0/8',
- '127.0.0.1/8',
- '172.16.0.0/12',
- '192.168.0.0/16'
- ];
+ protected $proxies = '*';
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Dec 18, 1:28 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
418799
Default Alt Text
(841 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment