Re: Reverse Proxy App on CF


Paul Bakare
 

Thanks James

they need to send app-to-app through gorouter


Do you have a sample that I checkout? I've never directly worked with
gorouter

On Sun, Oct 11, 2015 at 3:49 PM, James Bayer <jbayer(a)pivotal.io> wrote:

app instances in cloud foundry are currently not allowed to route directly
to other app instances. they need to send app-to-app through gorouter,
which often also has a load balancer in front of that.

On Sun, Oct 11, 2015 at 2:30 AM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:

Hi,

I understand that gorouter performs the task of a reverse proxy.

However, I'll like to know if it's possible to have an app that performs
the task of a reverse proxy for other apps (something like a gateway).
Would gorouter allow this?

I've tested this locally. It works. But when I deploy to CF, it doesn't.
Returns 404

Here's a test NodeJS app deployed on CF,
https://gist.github.com/charyorde/64230d4849e5dec4e1f9

Appreciate your help


--
Thank you,

James Bayer

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.