From 5fd70f3793685c9a3dd85c2548cfdb4b46d04389 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 29 Jan 2023 19:32:43 +0100 Subject: [PATCH] Adding config/trustedproxy.php --- .env.example | 1 + config/trustedproxy.php | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 config/trustedproxy.php diff --git a/.env.example b/.env.example index 44853cd..6a9f11e 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost +HTTP_TRUSTED_PROXIES="192.168.1.1,192.168.1.2" LOG_CHANNEL=stack LOG_LEVEL=debug diff --git a/config/trustedproxy.php b/config/trustedproxy.php new file mode 100644 index 0000000..b788f14 --- /dev/null +++ b/config/trustedproxy.php @@ -0,0 +1,5 @@ + env('HTTP_TRUSTED_PROXIES', []), +]; \ No newline at end of file