NGINX upload limit

Z
  • 1 Mar '24
Good day!

We created an institutional repository with eprints and using NGINX as load
balancer, but we encountered problem in uploading file to our repository.
It only alccepts 128 kb file upload, the client_max_body_size is set to 2
gb.

but still it only accepts 128 kb max upload size.

How to solve this problem?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20240301/dcf67af9/attachment.htm>
S
  • 1 Mar '24
Hi there,

On Fri, Mar 01, 2024 at 04:45:07PM +0800, zen zenitram wrote:
> 
> We created an institutional repository with eprints and using NGINX as load
> balancer, but we encountered problem in uploading file to our repository.
> It only alccepts 128 kb file upload, the client_max_body_size is set to 2
> gb.
> 
> but still it only accepts 128 kb max upload size.
> How to solve this problem?

I'd recommend to share the nginx configuration file in the maillist.
Don't forget to remove any sensitive information or create a minimal
nginx configuration reproduces the case.

Thank you.

-- 
Sergey A. Osokin