danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.59k forks source link

Maximum File Size limited to 1mb #2055

Closed vcoderyt closed 6 years ago

vcoderyt commented 6 years ago

When a file of size more than 1mb is tried to upload it fails with a 413 (Request entity too large) error. Tried ngf-maxsize and some other things. Is there any config parameter to be set to solve this?

shane9 commented 6 years ago

Looks like a server-side error. You'll need to modify your server or web application configuration to accept larger files

vcoderyt commented 6 years ago

Got it.. It was my nginx issue. Had to add in nginx.conf "client_max_body_size 100M;". Thanks..