Hello!
I have a fun problem:

2 webhosts (backends)
1 relayd (loadbalancer)

Some webapplications BUT one of the webapplications does not scale on a
loadbalanced system so I need to use a specific backend to get that to work:

so if users surfs to app.domain.tld/ they will go to either backend but if
they go to app.domain.tld/banana I want them sent to a specific backend. I
was under the impression (#openbsd@freenode) that this is possible? So my
resolution was to add:

http protocol "http" {
  things
  things

  request url filter "app.domain.tld/banana" redirect <backend_1_table>

}

Am I incorrect? Well I know that since relayd do not want to reload the
config due to:
/etc/relayd.conf:66: syntax error
/etc/relayd.conf:80: no such protocol: http
/etc/relayd.conf:83: syntax error
/etc/relayd.conf:98: no such protocol: http

Anyone that has done this before Im not sure about the redirect in the man
it says that the option for url can be only change/replace actions is what
I want even possible?

Regards Joakim!

Reply via email to