© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Nima Hamidpour

upload file

i want to upload file but get error
/livewire/upload-file?expires=1719692178&signature=aff321a57666b03dc9c6eb880864e2d94d34e13a65b95fd195503dc4f1ea6de0

i have load balancer ingress,nginx and my app

in my

class TrustProxies extends Middleware
{
/
* The trusted proxies for this application.
*
* @var array<int, string>|string|null
/
protected $proxies = '
';

/

* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
}



and in AppServiceProvider
URL::forceScheme('https');
request()->headers->set('X-Forwarded-Proto', 'https');


and its my nginx.conf


server {
listen 80;
client_max_body_size 100M;

index index.php index.html;
root /var/www/html/public;

error_log stderr warn;
#access_log /dev/stdout main;

#add_header X-Forwarded-Proto https;
#add_header X-Forwarded-Scheme https;

location / {
try_files $uri $uri/ /index.php?$query_string;
gzip_static on;
}

location ~ .php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location ^~ /livewire {
try_files $uri $uri/ /index.php?$query_string;
}
}


but not work
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

File Upload
FilamentFFilament / ❓┊help
2y ago
File Upload
FilamentFFilament / ❓┊help
3y ago
File Upload
FilamentFFilament / ❓┊help
3y ago
File-Upload
FilamentFFilament / ❓┊help
3y ago