relayd http-https-redirects with sticky-address

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Wednesday, September 17, 2008 - 11:45 am

Hello,

I use relayd with redirects to loadbalance between two webservers
one redirect is used for http requests and the other for https.
the redirects looks like the following:

redirect web_http {
listen on $ext_ip1 port http
sticky-address
forward to port http check script "/usr/local/sbin/chksrvs"
}

redirect web_https {
listen on $ext_ip1 port https
sticky-address
forward to port https check script "/usr/local/sbin/chksrvs"
}

The redirects works fine separately and sticks to the same machine,
but when the user navigates from http to https the requests sometimes
move over to the other machine. I need the same source-ip to always
stay on the same server regardless of which destination port (http or https)
is being used. Any suggestions on how to achive this would be greatly
appreciated.

Regards, Mikael

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
relayd http-https-redirects with sticky-address, Mikael Jansson, (Wed Sep 17, 11:45 am)
Re: relayd http-https-redirects with sticky-address, Reyk Floeter, (Wed Sep 17, 3:39 pm)
Re: relayd http-https-redirects with sticky-address, Michiel van Baak, (Wed Sep 17, 4:19 pm)
Re: relayd http-https-redirects with sticky-address, Reyk Floeter, (Mon Sep 29, 5:23 am)
Re: relayd http-https-redirects with sticky-address, Leon Dippenaar, (Mon Sep 29, 2:41 pm)
Re: relayd http-https-redirects with sticky-address, Mikael Jansson, (Thu Sep 18, 4:06 am)