Error while uploading the file
I try to upload files locally and it works fine, when I try to upload it on production I get this error response with an empty message:
11 Replies
php artisan storage:link
did you config APP_URL in the .env file?Yes
I will try that and tell you
Thank you Leandro
This is the output, I did
php artisan storage:link
php artisan tenants:run storage:link
and this was the output and it's still failing, I suspect it's storage write permissions on my server but I'm not sure where should I touchin app/Http/Middleware/TrustProxies.php
set this
protected $proxies = '*';
I did so and I'm still getting the same error
Maybe your directory is not correct
I'm trying to fetch the directory it tries to go to through the request but with no success, maybe I'm missing something?
Yap! Can you share the way of your uploading process?
That's from a spatie laravel settings filament page
Most probably because I'm uploading from a different domain name which is a
tenant
and the APP_URL
is set to the central
version of the app? But I need this functionality so how to avoid that 401 signature validation?