FileUpload hasValidSignature aborts and returns 401

- I am using Cloudflare and deploying on Ploi - APP_URL and ASSET_URL are correctly set - I am forcing https scheme in staging/prod environments - TrustProxies is correctly configured using monicahq/laravel-cloudflare - X-Forwarded-For and X-Forwarded-Proto are being correctly set running out of ideas. Everything else works correctly, but when filament makes a request to livewire/upload-file it wants to use http all of a sudden (hence using \URL::forceScheme('https');)
2 Replies
sundays
sundays6mo ago
The only way I was able to solve this is by setting my trusted proxies to "*"
Patrick1989
Patrick19896mo ago
that is the only solution i am aware of you could allow a bit more specific instead of *