Date: Sun, 30 Apr 2017 04:03:26 -0500 From: Matthew Donovan <kitche@kitchetech.com> To: Thomas Steen Rasmussen <thomas@gibfest.dk> Cc: ports@freebsd.org Subject: Re: www/nginx: nginx 1.12 doesn't work with XRID_HEADER option enabled Message-ID: <CABgom6csLmRWRvSGgokvPRr%2B5a10yOYX=LTbZC2Rz%2B9Px5hRzQ@mail.gmail.com> In-Reply-To: <9f22ff7c-4f34-27a8-872d-0fff130deeb4@gibfest.dk> References: <9f22ff7c-4f34-27a8-872d-0fff130deeb4@gibfest.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Nginx 1.12 can no longer have duplicate stuff in configuration. It does it for request_ip as well. It's by design. On Apr 30, 2017 3:56 AM, "Thomas Steen Rasmussen" <thomas@gibfest.dk> wrote: > Hello, > > Do not upgrade nginx to 1.12 if you have XRID_HEADER enabled. The > module is incompatible with nginx 1.12 and nginx will refuse to start > with the following error: > > nginx: [emerg] the duplicate "request_id" variable in > /usr/local/etc/nginx/nginx.conf:16 > > where line 16 is where the http {} section starts. This happens even > with an empty http {} section. > > I've opened this PR to address the issue: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218956 > > I've also opened https://github.com/gabor/nginx-x-rid-header/pull/1 > with the upstream which would make the module work, but would > require everyone to update their configs if merged. > > If we just remove the module stuff will keep working with the > current configs, but the request IDs are no longer formatted as UUIDs. > > /Thomas > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABgom6csLmRWRvSGgokvPRr%2B5a10yOYX=LTbZC2Rz%2B9Px5hRzQ>