Re: Question on Empty GIF module

Is it possible to have the post_action be load balanced across a
set of backend servers (like the way proxy_pass works) or will it
only work with one specific server? If that later is the case,

You may specify any uri for proxy_pass, and it will be served almost
as regular request (with the exception that results won’t be
served to client). So you may do everything you want with it -
including proxy_pass’ing to load-balanced cluster of backends.

OK, I think I understand. Looking back at what you posted originally…

location / {
empty_gif;
post_action /post;
}

location = /post {
internal;
proxy_pass http://my_upstream_servers;
}

That would in fact do what I wanted, correct?

Also there was little information on what the keyword internal does if
you happened to have any info that would be helpful. Thanks again!

  ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Hello!

On Fri, Apr 25, 2008 at 02:02:44PM -0500, Rt Ibmer wrote:

That would in fact do what I wanted, correct?

Yes.

Also there was little information on what the keyword internal
does if you happened to have any info that would be helpful.

http://wiki.codemongers.com/NginxHttpCoreModule#internal

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs