demo:/root# curl http://192.168.32.42:8082/api/ 用户管理 Welcome Scan
https://www.zjtest4.com/api/也是返回 Welcome Scan修改配置: 或者 http://192.168.32.42:8082/api此时访问不到需要:http://192.168.32.42:8082/https://www.zjtest4.com/api/也访问不到继续修改: app01:/usr/local/apache-tomcat-7.0.55_8082/conf> ls -ltr /t/deploy/zjtest4/deployedApps/zjzc-web-apitotal 5-rwxrwxrwx 1 root root 2090 May 7 13:42 test.htmldrwxrwxrwx 1 root root 0 May 16 10:58 commondrwxrwxrwx 1 root root 0 May 16 10:58 WEB-INFdrwxrwxrwx 1 root root 0 May 16 10:58 META-INF-rwxrwxrwx 1 root root 292 Aug 9 16:27 index.htmldrwxrwxrwx 1 root root 0 Aug 9 16:49 api多创建一个api目录这样通过:http://192.168.32.42:8082/https://www.zjtest4.com/api/都可以访问