The java web project developed by the SSH framework is packaged as a war file. Is it deployed on a tomcat+apache machine? If tomcat and apache are on different machines,
Which machine is the war deployed on?
In addition, does the content in the war have nothing to do with whether there is an nginx front-end server?
war is the standard package format of JavaWeb and can only be deployed on application servers such as tomcat.
nginx can be used as a reverse proxy server.
The reverse proxy server and the application server do not need to be together.
nginx can proxy any server. Request
1. Put the war under tomcat/webapps/
2. Static files in war can be separated from static files through Nginx’s location module to reduce server pressure