Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
HAProxy: Redirect to subfolder don't work
« previous
next »
Print
Pages: [
1
]
Author
Topic: HAProxy: Redirect to subfolder don't work (Read 2691 times)
Headologic
Newbie
Posts: 17
Karma: 1
HAProxy: Redirect to subfolder don't work
«
on:
December 04, 2018, 12:42:58 pm »
Hello,
actually i work on a redirect-rule in HAProxy, which doesn't work.
In my example, a call to
http://intranet.complex.org
should redirected to
http://intranet.complex.org/department
. Following is the configured setup. What i do wrong?
This is what i already configured (IP's and Names are fictional):
Real-Server
Name: Webserver
IP: 192.168.69.69
Port: 80
Condition:
Name: Intranet
Type: Host start with
Prefix: intranet
Rule:
Name: Intranet
Test type: IF
condition: Intranet
Log. operator: none
execute func: http-request redirect
HTTP Redirect: location
http://intranet.complex.org/department
Backend Pool:
Name: Intranet
Servers: Webserver
Rules: Intranet
Public Service:
Name: HTTP_Internal
Listen-Address: 192.168.69.1:80
Backend-Pool: none
Rules: Intranet
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
HAProxy: Redirect to subfolder don't work