Hey Chris,

 

Yep I’ve been doing that for a while to make my SSL termination with magento.

 

However does no one know how to get that src-ip into there? 

 

Surely people have needed this?

 

--Karl.

 

Karl Kloppenborg

Programming Ninja

 

Crucial Paradigm Pty Ltd

Suite 1 Level 3 104-106 Commonwealth St

Surry Hills NSW 2010

Australia

 

1300 884 839 – Sales & Support (AU Only)

 <https://support.crucialp.com/> Click here for the Support Desk 

 

d: 02 8202 9994

f: 02 92818261

m: 0416 236 908

e: [email protected]

 

Crucial Paradigm is a leading Web Hosting provider that specialises in Cloud 
solutions. 

We are commited to keeping our planet green, please reduce, reuse and recycle 
your office paper.

Description: crucial_2012

 

From: Chris LeBlanc [mailto:[email protected]] 
Sent: Monday, 4 June 2012 5:07 PM
To: Karl Kloppenborg
Cc: [email protected]
Subject: Re: reqadd srcIP for header

 

Karl, 

 

Take a look at...

http://code.google.com/p/haproxy-docs/wiki/forwardfor

 

You can also use reqadd which I've done to add ports and protocols like so 
(thought I'm not sure how you'd get the client ip)…

reqadd X-Forwarded-Protocol:\ http

reqadd X-Forwarded-Port:\ 80

 

-- 

Chris LeBlanc

[email protected]

 

On Monday, June 4, 2012 at 1:57 AM, Karl Kloppenborg wrote:

Hey guys,

 

I’m running latest stable of haproxy and want to basically insert a header 
“X-Forward-For: {client ip}” into the header of a transaction, this is so the 
web application being balanced knows the originating IP address.

 

Is this possible? I couldn’t figure it out.

 

--Karl.

 

Karl Kloppenborg

Programming Ninja

 

Crucial Paradigm Pty Ltd

Suite 1 Level 3 104-106 Commonwealth St

Surry Hills NSW 2010

Australia

 

1300 884 839 – Sales & Support (AU Only)

 <https://support.crucialp.com/> Click here for the Support Desk 

 

d: 02 8202 9994

f: 02 92818261

m: 0416 236 908

e: [email protected]

 

Crucial Paradigm is a leading Web Hosting provider that specialises in Cloud 
solutions. 

We are commited to keeping our planet green, please reduce, reuse and recycle 
your office paper.

Description: crucial_2012

 

 

<<image002.jpg>>

<<image003.jpg>>

Reply via email to