a year ago
I keep getting this error with my laravel api its a 1mb file:
0.64.0.3 - - [30/Mar/2025:20:38:13 +0000] "PATCH /api/v1/editor/agency-pt-d7231967-97ef-436a-a1c5-47e50922ac43/update HTTP/1.1" 413 585 "https://app.lanndi.com/"; "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
2025/03/30 20:38:13 [error] 35#35: *38 client intended to send too large body: 1123806 bytes, client: 100.64.0.3, server: localhost, request: "PATCH /api/v1/editor/agency-pt-d7231967-97ef-436a-a1c5-47e50922ac43/update HTTP/1.1", host: "api.lanndi.com", referrer: "https://app.lanndi.com/";
Ive tried this solution to but to avail i need to fix this asap as i need to make some urgent changes to a client website.
https://station.railway.com/questions/increase-max-file-upload-with-php-nixpac-8e47f9b1
1 Replies
a year ago
Hey there, apologies but this looks like an issue with the application level code. Due to volume, we can only answer platform level issues. Making this thread public so that the community might be able to help but a quick note that the solution might involve increasing the client_max_body_size in the Nginx configuration or adjusting the PHP settings for post_max_size and upload_max_filesize to allow larger file uploads.
Status changed to Awaiting User Response Railway • 12 months ago
a year ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open chandrika • 12 months ago