Whether nginx proxy to set the directory under the tomcat?
CodePudding user response:
What you said is supposed to be the reverse proxy, such as use tomcat startup after http://127.0.0.1:8080/demoNginx start to return to http://127.0.0.1:80
Need to configure the agent this address
http://127.0.0.1:8080/demo
Then you can use http://127.0.0.1:80/demo