haproxy/doc
Christopher Faulet 612f2eafe9 MINOR: http-ana: Use proxy's error replies to emit 401/407 responses
There is no reason to not use proxy's error replies to emit 401/407
responses. The function http_reply_40x_unauthorized(), responsible to emit those
responses, is not really complex. It only adds a
WWW-Authenticate/Proxy-Authenticate header to a generic message.

So now, error replies can be defined for 401 and 407 status codes, using
errorfile or http-error directives. When an http-request auth rule is evaluated,
the corresponding error reply is used. For 401 responses, all occurrences of the
WWW-Authenticate header are removed and replaced by a new one with a basic
authentication challenge for the configured realm. For 407 responses, the same
is done on the Proxy-Authenticate header. If the error reply must not be
altered, "http-request return" rule must be used instead.
2020-05-28 15:07:20 +02:00
..
design-thoughts
internals
lua-api MEDIUM: lua: Add ifexist parameter to set_var 2020-05-25 08:12:35 +02:00
51Degrees-device-detection.txt
acl.fig
architecture.txt
close-options.txt
coding-style.txt
configuration.txt MINOR: http-ana: Use proxy's error replies to emit 401/407 responses 2020-05-28 15:07:20 +02:00
cookie-options.txt
DeviceAtlas-device-detection.txt
gpl.txt
haproxy.1
intro.txt DOC: intro: add a contacts section 2020-05-05 18:08:07 +02:00
lgpl.txt
linux-syn-cookies.txt
lua.txt
management.txt
netscaler-client-ip-insertion-protocol.txt
network-namespaces.txt
peers-v2.0.txt
peers.txt
proxy-protocol.txt
queuing.fig
regression-testing.txt
seamless_reload.txt
SOCKS4.protocol.txt
SPOE.txt DOC: SPOE is no longer experimental 2020-05-18 17:47:18 +02:00
WURFL-device-detection.txt