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
3 Replies
Nima Hamidpour
Nima HamidpourOP6mo ago
and this error for signiture not expire
PabloZagni
PabloZagni6mo ago
I'm trying to help but... Sorry ... this is not Filament related.
Nima Hamidpour
Nima HamidpourOP6mo ago
its related livewire and filament
Want results from more Discord servers?
Add your server