ionic framework - Nginx proxy_pass not working for tomcat (404 not found error) -


my angular app running on localhost:3030 through nginx.

my rest service running on tomcat localhost:7001

nginx-conf settings :

enter code here  server {      server_name localhost;         listen 3030;           location / {          root d:\ionic_workspace\merigaadi\www;         }         location /app {            proxy_pass   http://localhost:7001/;           }                        } 

i have tried fix...but didn't luck. getting following error:

get http://localhost:3030/app/unauth/login/authenticate 404 (not found)  proxy_pass not working 

please me on this.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo