1: Implement domain access interfaces, nginx monitor port 80, accessed through a browser usually the default port 80, so when the browser access interfaces, nginx is listening to, and then reverse proxy setting out: automatically mapped to the linux tomcat, webapps under the project to wechat
location /wechat/ {
proxy_read_timeout 300;
proxy_pass http://localhost:8080/wechat/;
proxy_redirect default;
proxy_intercept_errors on;
}
2: the successful implementation of domain name requests
3; if permission is refused, you can set security group