Nginx做反向代理,数据流转

1.Request data flow

2.Nginx configure

 

 

 

 

3.Need to ./WEB-INF/classes/com/primerobotics/primemanagementconsole/WebConfig.class add under “dding allowed origin: http://10.102.129.119:8383”;

4.Access the system through the request http://10.102.129.119:8383/login;

5.Nginx command used:

        tomcat-service: /usr/lib/systemd/system

        nginx-service: /etc/nginx/conf.d/default

        vi /etc/sysconfig/iptables

         restart iptables restart

         nginx –s reload

         nginx –t

         tail –f /var/log/nginx/access.log

posted @ 2019-11-25 18:13  菜鸟楚  阅读(1117)  评论(1编辑  收藏  举报