]> git.kaiwu.me - haproxy.git/commit
MINOR: server: add the "http-hardening" server keyword
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Oct 2026 17:47:28 +0000 (18:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 21:45:32 +0000 (22:45 +0100)
commitcb30bf0bcd5ca4cb5508e05019e8e31a0b55d534
tree985ecc352639a96dddde809ccb2198c48cdfd419
parent452cac20d11297cf4a5b092a0cb2e405399e9e07
MINOR: server: add the "http-hardening" server keyword

The new "http-hardening" server keyword sets the HTTP hardening profile
that applies to the responses coming from the server and to the requests
sent to it. The server now holds a pointer to the profile, which may be
NULL if unset or explicitly set to "auto". It is inherited from
default-server, server templates and "from" like any other setting, and
may be set at runtime with "add server". The profile must have been
declared before.
include/haproxy/server-t.h
src/server.c