Hello Suraj, hello Willy,
> frontend stats_proxy
> bind <server ip>:<port>ssl crt <certificate path> no-sslv3 no-tlsv10
> ciphers <cipher>
> mode http
> default_backend stats_server
> rspadd Cache-Control:\ no-store,no-cache,private
> rspadd Pragma:\ no-cache
> rspadd Strict-Transport-Security:
>
> backend stats_server
> mode http
> option httpclose
> option abortonclose
> stats enable
> stats refresh 60s
> stats hide-version
rspadd does not work for the stats backend.
This is definitely a change in behavior in 1.5-dev due to 70730ddd
("MEDIUM: http: enable analysers to have keep-alive on stats"):
(from the 70730ddd commit message):
> We ensure to skip filters because we don't want to unexpectedly
> block a response nor to mangle response headers.
Skipping filters causes the behavior reported in this thread.
Do we support this use case though? Do we consider this a regression?
What do you think, Willy?
cheers,
Lukas