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

HA proxy to drop connection which includes string

$
0
0

Hello,
I am using HA proxy as a loadbalancer. I need to drop all requests which contain the string in the middle of request. I found out the solution like silent-drop
my additions in settings look like that:

acl restricted_page path_sub,url_dec -i my_string
http-request silent-drop if restricted_page

But when I doing the request it still showing an output, even when I used "deny instead of silent-drop it doesn’t work as I wanted. Anyone know the right soultion of that?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



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