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

ACL rule based on POST data possible?

$
0
0

@vnomura wrote:

Hi All,

Thank you in advance for all your help. I’m trying to create an ACL rule where the http request is denied if the POST data contains the word “nastyword”.

Something like

acl prevent_bad_words (something then reg ex search for “nastyword” etc…)
http-request deny if prevent_bad_words

Is this possible on POST data? I’ve also put

option http-buffer-request

In the defaults as I was told it would allow HAProxy access to the data.

Regards,

Victor

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4723

Trending Articles



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