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

Acl on host and past

$
0
0

I need to allow only private network (rfc1918) to access on the website www.test.com and all the IP to path start with chain /test1

thank’s for your help Regard

I also try this but don’t work

    use_backend pool_server if { path_beg -i -m beg /test1}
    http-request deny if { path_dir -i -m beg / } !{ src 192.168.0.0/16 172.16.0.0/12 10.0.0.0/8 }

    default_backend pool_server

and with this configuration the css…etc in /static don’t load.
I think I need to only allow rfc1918 on www.test.com and allow of the /* but I don’t know how do this .

Regards

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



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