Monday, 29 May 2017

Tomcat as Proxy Server

We have made a Spring boot based Web Application. Which has only static resources all html pages as angular 2 application under it.

The angular 2 application makes REST API calls which are served from different server.

I want to configure tomcat in such a way that all calls starting with /backend should be forwarded to different server and rest all request should be served from same server.

It should act like node server where we provide a proxy-config.json.

Can you suggest any implementation?



via Nitish Kumar

No comments:

Post a Comment