Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4736

Build ACL from map

$
0
0

Hello,

I’m trying to build an acl with a map file. I’m using haproxy 2.2.9. This is to allow us to deploy a map file with a tool like ansible or a cron task without having to update the haproxy config, a simple reload should be able to update the loaded map.

I have a list of client, allowed to access a list of uri :

127.0.0.1 /uri1
127.0.0.1 /uri2
127.0.0.2 /uri2
127.0.0.3 /uri1

Now, i want to allow the access only if src is in map and if begining of the request uri match the one in the map.

Is there a way to achieve this ? A made a lots of tries without success :frowning:

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4736

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>