Avoid apache, use haproxy or nginx. This configuration, stud and haproxy is 
quite nice.

I wrote a pure TCP proxy in node rather than using HAProxy.

https://github.com/mikeal/stud-proxy

It works great but I ditch x-forwarded-for and do any IP filtering in 
stud-proxy rather than the processes behind it. Also, need to make sure that 
web sockets is wss instead of ws because the backend process think they aren't 
TLS.

-Mikeal

On Aug 13, 2012, at August 13, 201212:11 PM, Matt <[email protected]> wrote:

> Oooh. Done!
> 
> On Mon, Aug 13, 2012 at 2:45 PM, Guillermo Rauch <[email protected]> wrote:
> No. Stud can use the PROXY protocol to communicate with HAProxy. From the 
> README:
> 
> stud will optionally write the client IP address as the first few octets 
> (depending on IPv4 or IPv6) to the backend--or provide that information using 
> HAProxy's PROXY protocol.
> 
> -- 
> Guillermo Rauch
> LearnBoost CTO
> http://devthought.com
> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to