Hello!

On Sun, Mar 15, 2026 at 01:24:01PM +0100, Christoph Liebender via nginx wrote:

> Hello nginx@,
> 
> I recently learned about the add_header_inherit directive of nginx 1.29.3,
> and was suprised to see that my freenginx (build config below) does not
> support it. Is that to be expected?

Yes, that's expected.

New features from F5 NGINX are not automatically merged into 
freenginx.  Rather, they are considered - if there is a developer 
who is willing to do the merge and improve the code if there are 
questions and/or issues identified during the review.  Overall, 
freenginx development is completely separate from what F5 does.

Further, this particular directive is considered to be a 
misfeature, which breaks normal inheritance logic in unpredictable 
ways, and it is unlikely to be ever merged.

If you are interested in developing some functionality to improve 
add_header merging, I would recommend focusing on alternative 
solutions, such as a one-time way to inherit headers along with 
the ones specified on the current level, something like:

    add_header inherit;
    add_header X-Foo bar;

Ideally, this should be a more or less universal solution for all 
array-type directives.

-- 
Maxim Dounin
http://mdounin.ru/

Reply via email to