SpringBoot failed to upload files under Linux

after SpringBoot is packaged and uploaded to the server, uploading files that exceed 500KB under the HTTPS protocol will cause Request to fail to find the uploaded file, and everything will be fine if it is in HTTP mode.

there are two ways in which the data for the requested resource cannot be found in HTTPS mode:
1.

@RequestParam("files") MultipartFile multipartFile

2.

files = request.getPart("files");

but both of the above methods are feasible and normal in Windows native and HTTP mode, but it is not possible to enable HTTPS on Linux.

Under the < H1 > HTTP protocol, everything is fine, so you don"t have to worry about basic configuration issues such as Servlet, transmission parameters < / H1 >.
Menu