Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

0 votes
I have set up Headwind MDM on my server.

I have used nginx as a proxy redirecting the traffic from 443 port to 8080 port of Tomcat.

Everything is working well but I cannot upload the app: the upload dialog just freezes.

I tried to open the Chrome Developer Tools and found that the REST API returns: 413 Request Entity Too Large.

How to fix the issue?
by (12.8k points)

1 Answer

0 votes

Add the following line in your nginx.conf file.

server {

  ...

  client_max_body_size 1024M;

  ...

}

To apply changes, use a command

# nginx -s reload

or

# service nginx reload

by (12.8k points)
...