nginx configuration file upload size

When performing the reverse proxy settings, because I need to upload files, but the files are large (> 1MB, Nginx default is 1MB), so it is necessary to configure Nginx, just need to find at http nginx main configuration file nginx.conf {},Add to

client_max_body_size 1024m;

Then, reload the configuration

nginx -s reload
Published 26 original articles · won praise 0 · Views 557

Guess you like

Origin blog.csdn.net/qq_36609994/article/details/104718741