mirror of
https://github.com/supanadit/todo.git
synced 2024-11-22 10:06:22 +00:00
feat: add trust proxy
This commit is contained in:
parent
e506d952a2
commit
bdf4a79401
@ -12,7 +12,7 @@ class TrustProxies extends Middleware
|
|||||||
*
|
*
|
||||||
* @var array|string|null
|
* @var array|string|null
|
||||||
*/
|
*/
|
||||||
protected $proxies;
|
protected $proxies = ['127.0.0.1'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The headers that should be used to detect proxies.
|
* The headers that should be used to detect proxies.
|
||||||
|
Loading…
Reference in New Issue
Block a user