Replies: 1 comment
-
The problem went away after I updated /opt/dify/docker-legacy/nginx/nginx.conf to NGINX_CLIENT_MAX_BODY_SIZE=100M. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Yes, I'm using CE and have set in .env:
Nginx performance tuning
NGINX_WORKER_PROCESSES=auto
NGINX_CLIENT_MAX_BODY_SIZE=100M
NGINX_KEEPALIVE_TIMEOUT=300
However getting "Upload failed" error and see in browser console when trying to upload 60MB file:
/console/api/files/upload?source=datasets:1
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
2. Additional context or comments
None of the worker logs are showing an error.
Do I need to change any other files in order to enable large file uploads?
Beta Was this translation helpful? Give feedback.
All reactions