Hi Jarno,
On 3/8/19 4:57 PM, Jarno Huuskonen wrote:
Yes(probably:), something like this might work for you:
acl is_redirect_match path,map_beg(redir.map) -m found
http-request redirect code 302 location %[path,map_beg(redir.map)] if
is_redirect_match
Thanks a lot for your help. That works fa
Hi,
On Fri, Mar 08, Philipp Kolmann wrote:
> On 3/8/19 2:50 PM, Patrick Hemmer wrote:
> >
> >You can use external files in two cases. See the following blog articles:
> >
> >https://www.haproxy.com/blog/introduction-to-haproxy-acls/ (search
> >for "acl file")
> >
> >https://www.haproxy.com/blog/in
On 3/8/19 2:50 PM, Patrick Hemmer wrote:
You can use external files in two cases. See the following blog articles:
https://www.haproxy.com/blog/introduction-to-haproxy-acls/ (search for
"acl file")
https://www.haproxy.com/blog/introduction-to-haproxy-maps/
Hi,
thanks for the hint with th
Hi Bruno,
On 3/8/19 2:26 PM, Bruno Henc wrote:
I don't think there is a capability to include a list of ACLs.
However, you can load the ip addresses once via the -f parameter:
acl is_admin src -f /etc/haproxy/admin_ip_list.txt
Thanks that sounds like a solution for my IP List issue...
I do
@formilux.org
Betreff: Re: Adding Configuration parts via File
Hello Philipp,
I don't think there is a capability to include a list of ACLs. However,
you can load the ip addresses once via the -f parameter:
acl is_admin src -f /etc/haproxy/admin_ip_list.txt
You would have to define an acl in
On 2019/3/8 08:17, Philipp Kolmann wrote:
> Hi,
>
> I have ACLs for Source-IPs for Admins for several services. These ACLs
> are identical for multiple listener-sections.
>
> Would it be possible to have a file with several acl snipplets and
> source that at the proper section of the config file
Hello Philipp,
I don't think there is a capability to include a list of ACLs. However,
you can load the ip addresses once via the -f parameter:
acl is_admin src -f /etc/haproxy/admin_ip_list.txt
You would have to define an acl in each section, but the IP list would
be the same for all rul
7 matches
Mail list logo