Nginx file upload size limit modification (only 1M can be uploaded by default)

Nginx.config add configuration

It can be configured under server or location

    client_max_body_size 100m; #文件最大大小
    proxy_connect_timeout    600; #设置超时时间
    proxy_read_timeout       600;
    proxy_send_timeout       600;

Personal open source project (universal back-end management system) –> https://gitee.com/wslxm/spring-boot-plus2 , if you like, you can read this article. This is the end of this article. If you find it useful, please give a
thumbs up or pay attention to it. , Will continue to update more content from time to time... Thank you for watching!

Guess you like

Origin blog.csdn.net/qq_41463655/article/details/108080029