Welcome! Log In Create A New Profile

Advanced

Dynamic Proxy Passing

March 25, 2010 02:12PM
Hello,

I have a situation where a server needs to proxy to a variable backend depending on the URI.

I use x-accel-redirect to a URI like /files/serverX/fileY;

I then need my server to proxy_pass to serverX.domain.com/fileY; and return this data to the user.

There will be multiple servers with this so something where I need to update the configuration when I add a new serverX would be somewhat undesirable.

Question is, what's the best way to go about this?
Subject Author Posted

Dynamic Proxy Passing

Ensiferous March 25, 2010 02:12PM

Re: Dynamic Proxy Passing

Reinis Rozitis March 26, 2010 12:04PM

Re: Dynamic Proxy Passing

Ensiferous March 27, 2010 06:01AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready