Nginx 文件上传下载配置

    如对你有帮助,请我喝杯咖啡吧! 打赏

        server_names_hash_bucket_size 128;
        client_header_buffer_size 32k;
        large_client_header_buffers 4 32k;
        client_max_body_size 2000m;
        client_header_timeout 3600s;
        client_body_timeout 7200s;

        sendfile on;
        sendfile_max_chunk 10m;
        send_timeout 3600;
        tcp_nodelay on;
        tcp_nopush on;

        keepalive_timeout 120;

        tcp_nodelay on;

        fastcgi_connect_timeout 300;
        fastcgi_send_timeout 3600;
        fastcgi_read_timeout 3600;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 10 128k;
        fastcgi_busy_buffers_size 128k;
        fastcgi_temp_file_write_size 5m;