Nginx proxy_pass不适用于tomcat(404未找到错误)

时间:2016-06-01 20:09:18

标签: nginx ionic-framework tomcat7 proxypass

我的角度应用通过 nginx localhost:3030 上运行。

我的休息服务正在tomcat localhost:7001

上运行

nginx-conf设置:

enter code here
 server { 
    server_name localhost;
        listen 3030; 

        location / { 
        root D:\Ionic_workspace\merigaadi\www;
        }
        location /app {

          proxy_pass   http://localhost:7001/;


        }                
       }

我已经尝试了一切来修复...但没有得到任何运气。我收到以下错误:

GET http://localhost:3030/app/unauth/login/authenticate 404 (Not Found)

proxy_pass is not working

请帮我解决这个问题。

0 个答案:

没有答案
相关问题