[BUG] Cannot upload a backing image larger than 10G #4902
Closed
Description
Describe the bug (🐛 if you encounter this issue)
Due to the config limitation lient_max_body_size 10240M
in Nginx, Longhorn UI cannot upload a backing image larger than 10G.
To Reproduce
Steps to reproduce the behavior:
- Go to the backing image page
- Create a backing image with method upload. Then choose a file larger than 10G
- The upload will fail after waiting a while
Expected behavior
The upload should succeed.
Log or Support bundle
The keywords of the error shown in UI
413 request entity too large
Environment
- Longhorn version: v1.3.2
Additional context
@smallteeths will provide the workaround.
Metadata
Assignees
Type
Projects
Status
Closed