the current URL of the project is the address of http://www.xxx.cn/project_name
is / usr/local/tomcat/webapps/project_name
then I think all
http://www.xxx.cn/project_name/(./*.).do
requests are handed over to
tomcat"s requestmapping
/ project_name/ (. / *.). Do
all other requests are static / project_name/ (. / *.)
address at / usr/local/tomcat/webapps/project_name/ (. / *.)
I don"t know much about the configuration of nginx. I"ve been looking for relatively simple deployments on the Internet, but they haven"t been very good for a long time.
ask for advice