56 words
1 minute
Changing the Nginx Upload Size Limit
With the default Nginx HTTP proxy configuration, request bodies are limited to 1 MB. A larger request can return 413 Request Entity Too Large.
Adjust client_max_body_size in the Nginx configuration. This example raises the limit to 8 MB:
http { ... #上传文件的大小限制 默认1m client_max_body_size 8m; ...} Changing the Nginx Upload Size Limit
https://blog.coding1024.com/en/posts/4a413d3a/
Comments
Questions, ideas and experiences are welcome. Please be kind and avoid sharing private information.
Loading comments…