Replies: 1 comment 3 replies
-
Put this on construct for \App\Http\Middleware\TrustProxies
Or declare them in the class param directly This will allow all proxies by the way. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
$request->ip() always return invalid IP address when the server is using cloudflare proxy.
there should be something like this:
Beta Was this translation helpful? Give feedback.
All reactions