From owner-freebsd-ports@freebsd.org Sun Apr 30 08:56:42 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7000D57226 for ; Sun, 30 Apr 2017 08:56:42 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C00035F9 for ; Sun, 30 Apr 2017 08:56:42 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: by mailman.ysv.freebsd.org (Postfix) id BF621D57225; Sun, 30 Apr 2017 08:56:42 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF0A1D57224 for ; Sun, 30 Apr 2017 08:56:42 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mail.tyknet.dk (mail.tyknet.dk [IPv6:2a01:4f8:201:2327:144:76:253:226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8847E5F8 for ; Sun, 30 Apr 2017 08:56:42 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from [10.137.5.12] (217.71.4.82.static.router4.bolignet.dk [217.71.4.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id 4C01EA9C21E for ; Sun, 30 Apr 2017 08:56:39 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.tyknet.dk 4C01EA9C21E DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1493542599; bh=9bznAX27O+iCE5DeQPdIYHHKrLDwv3Cs04YdhVG1MOk=; h=To:From:Subject:Date; b=uREablaASHDDcVbex61p4GtDy0B41hv6Dk1eKaN8Y+fBn0MQW17UewjoFW06TekNz 88hRo7hLrYOcnb/y76EUYwwccAod9F9RpDYxm1/qitjfavmpdF9p9jC15QJl37r6Vm t3JyC9G8/4zxu803d7czEvy+WEZKUvH7Tzwj9ilRMeAjptz0WscRfXm5T3fz3ACAH/ v1ppKjrp51CWajNFTQcYGK+PlBb2jQFkhMfMWOYX+/bzYmfeDnfqNJ0iyy9Pv/cE+G XdxDiWjrH2RJu+DwSrh3li/iNyKCbv6fqd97Od4/xw58uX8yQCd2Psx1/aXdD0JKIr wyUCV1nSWgi1Q== To: ports@freebsd.org From: Thomas Steen Rasmussen Subject: www/nginx: nginx 1.12 doesn't work with XRID_HEADER option enabled Message-ID: <9f22ff7c-4f34-27a8-872d-0fff130deeb4@gibfest.dk> Date: Sun, 30 Apr 2017 10:56:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2017 08:56:42 -0000 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