Adding config/trustedproxy.php
This commit is contained in:
parent
4dd7ed6726
commit
5fd70f3793
2 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ APP_ENV=local
|
||||||
APP_KEY=
|
APP_KEY=
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
HTTP_TRUSTED_PROXIES="192.168.1.1,192.168.1.2"
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
LOG_LEVEL=debug
|
LOG_LEVEL=debug
|
||||||
|
|
|
||||||
5
config/trustedproxy.php
Normal file
5
config/trustedproxy.php
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'proxies' => env('HTTP_TRUSTED_PROXIES', []),
|
||||||
|
];
|
||||||
Reference in a new issue