Specifies that the tomcat deployment is a self-defined docBase path
1. Find the server.xml file in the tomcat directory.
2. Add the relevant path above (configure according to actual needs)
<Context path="访问路径" docBase="实际文件路径" reloadable="true" />
3. An
example of nginx reverse proxy : The map service is on the .3 server and the application server is on .4, so the picture exists on the computer of .4. You need nginx to do a reverse proxy, and you can read the picture when you access .3 ;