You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering a "413 Payload Too Large" error when trying to upload image files in my Laravel 12 project deployed using Dokploy and Nixpacks.
Here are some details about my setup:
Laravel version: 12.x
Dokploy version: latest
Using Nixpacks for deployment
PHP version: 8.3-fpm
Upload attempt: image file around 4.2 MB
I have already tried setting environment variables like:
PHP_UPLOAD_MAX_FILESIZE=50M
PHP_POST_MAX_SIZE=50M
However, the upload still fails with the 413 error. I suspect it might be related to Nginx or Dokploy/Nixpacks defaults.
Could you please advise how to properly increase the allowed upload size in this environment? Any guidance on where to configure this in Dokploy/Nixpacks would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Dokploy team,
I am encountering a "413 Payload Too Large" error when trying to upload image files in my Laravel 12 project deployed using Dokploy and Nixpacks.
Here are some details about my setup:
I have already tried setting environment variables like:
However, the upload still fails with the 413 error. I suspect it might be related to Nginx or Dokploy/Nixpacks defaults.
Could you please advise how to properly increase the allowed upload size in this environment? Any guidance on where to configure this in Dokploy/Nixpacks would be appreciated.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions