toggle quoted messageShow quoted text
On Sun, Oct 11, 2015 at 6:35 PM, James Bayer <jbayer(a)pivotal.io> wrote:
it's pretty simple:
let's say app 1 has a route app1.example.com
let's say app 2 has a route app2.example.com
in order for app 2 to be a reverse proxy for app 1, the code in app 2
would initiate an http request to app1.example.com, which would likely
resolve to the LB, which would send it to one of the available gorouters,
which would then send it to app instances backing app 1.
On Sun, Oct 11, 2015 at 7:58 AM, Kayode Odeyemi <dreyemi(a)gmail.com> wrote:
they need to send app-to-app through gorouter
Do you have a sample that I checkout? I've never directly worked with
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>
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,
Appreciate your help