Set the java server upload location, and then nginx points to this location when setting the file path. Then you can use nginx to access these files. nginx will generate the access path based on the file path name, but the format is fixed, so the path can be known when java uploads.
Set the java server upload location, and then nginx points to this location when setting the file path. Then you can use nginx to access these files. nginx will generate the access path based on the file path name, but the format is fixed, so the path can be known when java uploads.