1. Describe that
uses springmvc to upload files to the / opt/upload/ [dir] / directory on the server, and tomcat and nginx are deployed on the same server.
1Tomcat uses tomcat to launch
Nginxnginx:
upload:
2.
nginx
nginx403 forbidden
I can"t manually set its permissions every time I upload a picture.
how can I set up so that newly uploaded images have readable permissions automatically?