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

ACL to match the HTML response only

$
0
0

@datuan wrote:

Not sure how this page/response named so I create this topic. Which ACL filter I can use to match the response (HTML) of webpage only.

I mean I plan to add CSP, HSTS, Early hints to the first HTML document only like the screenshot below, no need to add to other (static content, image, zip,…). The rule should not check if path_end is not .html because some settings can be / in the end, sometimes can be .html.

Thanks for your reading.

Posts: 2

Participants: 1

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>