Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] HTTP: NGINX_VER_BUILD in Server header and error page tail.

January 31, 2017 04:34AM
Hi Tom,

On Fri, Jan 27, 2017 at 02:46:38PM +1030, Tom Thorogood wrote:
> Hi,
>
> Ping. Any chance this might be able to be merged?

I've fixed some omissions in your patch, and committed the
support for new option.

http://hg.nginx.org/nginx/rev/25203fc377fb

> On Sun, 8 May 2016, at 08:57 PM, Tom Thorogood wrote:
> > Hi,
> >
> > This patch adds a build option to the server_tokens directive. When build is specified the Server header will have a value of NGINX_VER_BUILD. Also the tail of built in error pages will be NGINX_VER_BUILD. off and on are retained as valid values and behave as they always have.
> >
> > This makes it possible to specify semi-custom server tokens of the form "nginx/<version> (<value>)". <value> is specified with the --build flag for ./configure.
> >
> > A potential use case is including the name of a custom build for example with --build="super-nginx/0.1". This would give: nginx/1.9.15 (super-nginx/0.1).
> >
> > Another potential use case of this feature is to include the git revision of a parent build with --build="`git rev-parse --short HEAD`". This would give: nginx/1.9.15 (c3ebabd). In that case the feature can be used to enhance troubleshooting and/or provide more information to end users.
> >
> > Kind Regards,
> > Tom Thorogood.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] HTTP: NGINX_VER_BUILD in Server header and error page tail.

Tom Thorogood 945 May 08, 2016 06:28AM

Re: [PATCH] HTTP: NGINX_VER_BUILD in Server header and error page tail.

Tom Thorogood 354 January 26, 2017 11:18PM

Re: [PATCH] HTTP: NGINX_VER_BUILD in Server header and error page tail.

ru@nginx.com 529 January 31, 2017 04:34AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready