From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UGq4CmZlPmeymwAA62LTzQ:P1 (envelope-from ) for ; Wed, 20 Nov 2024 22:40:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UGq4CmZlPmeymwAA62LTzQ (envelope-from ) for ; Wed, 20 Nov 2024 23:40:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=S5gFS5fg; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=evPHuL8d; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732142437; a=rsa-sha256; cv=none; b=sdEi3KkbOtChhJxnH9tm/71uZ0h5AGew8QUEOoQA7uwBtsuju57qCY+ImpZ+0APQvvYnRH atyyuCoKHjsziQBHboCqztqjvoP/6kZWwQZbJ842f6b/jeRHVpbd2YdjoidCbeh0O7/OCh 7TCRCzpX3MqtG7/lUlRoXDPmFCq5tyJeARY1PsqbBRxouN4SQ+kowZORLxXAcgAJBeoVG5 uUTj2RzahluebaUMNTSs/95sLGngX96tuu88J2P+2QH+A1kqSPLYdmHlM08loySzDBEPk/ 7GfSsPKfpb2PbOdkub+FHS3A8nhhH5eJgDf1lbYtlBUGtvFg2X3OU4yKjEZrkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=S5gFS5fg; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=evPHuL8d; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732142437; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=2ZuI6dDfkM8OsNcHCgcDxuNzCaLo5nD1Ro1Qc8LHsLU=; b=qbbjQLu/27d4vOmNo+B2JB9Sys4P8DsQ+NMC1UsjHN3YUHWdbdxKIno4IQ9kSiAc/utw4o 1aWbqZ0mCxOLnIbRlsxCPXsF6FUaZZ7C8pe5oKnyASK/nYplsq6h7kXkxW2PPM41KqgcQ9 DuDMTPetOkspP9P4MvIyHCkIoVJQIcKqwiYCNz7a72yyGusSnoGlqVyqf7sUS+g7yaiqG9 pJZbIkqjhg8aSS9UaZoF/YMKn3gWOlrhUhSvHvLXoH9U7hGXmRM7thYg2Wc9/4w0BHkvLy TV/wamJzsOfJFAfJyTHYXNyzIfbssKenLL1Y4sEfMUxYabdd1PdVXjgZCm25IQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C90751F22D for ; Wed, 20 Nov 2024 23:40:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDtMq-00064b-22; Wed, 20 Nov 2024 17:40:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDtMh-00063d-W9 for guix-patches@gnu.org; Wed, 20 Nov 2024 17:40:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDtMg-0000HW-JG for guix-patches@gnu.org; Wed, 20 Nov 2024 17:40:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=2ZuI6dDfkM8OsNcHCgcDxuNzCaLo5nD1Ro1Qc8LHsLU=; b=S5gFS5fgpGAciz0R17H1JAiHMYBY1Ui864vmOqbJNzODeVPLYobliDjAKMlmEfOOHUzWhnLGlxSS8hyF02oF//ESgPJ8CMq6lngSOd3FvJidbApOeY0qyY53Hd4EQWHyNdpZ3VEbaG0R9dlNZL17zGBT9RACCZy7tDG8jAD9HyhwqMD1VQL3uPC3Ab0oameaLjNxetGgRLzyEK37Q3OZpbU1+8r4sTkcYQu+LDhnmF7NFYuvLrAPampKQW2VMPnPLLsWVcOuosFw7pITluFYZbySAbD9VKtfAyopBpotKBt/vKxaALsg7uxHow1jWy4eQHiXgwFOLmELSnuxboThfg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDtMg-0004M1-F3 for guix-patches@gnu.org; Wed, 20 Nov 2024 17:40:02 -0500 Subject: bug#71673: [PATCH v2] services: nginx: Print extra-content before the server-blocks. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 20 Nov 2024 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: 71673-done@debbugs.gnu.org Mail-Followup-To: 71673@debbugs.gnu.org, ludo@gnu.org, ~@wolfsden.cz Received: via spool by 71673-done@debbugs.gnu.org id=D71673.173214237516691 (code D ref 71673); Wed, 20 Nov 2024 22:40:02 +0000 Received: (at 71673-done) by debbugs.gnu.org; 20 Nov 2024 22:39:35 +0000 Received: from localhost ([127.0.0.1]:48161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDtME-0004L9-Pj for submit@debbugs.gnu.org; Wed, 20 Nov 2024 17:39:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDtMC-0004Kv-E8 for 71673-done@debbugs.gnu.org; Wed, 20 Nov 2024 17:39:33 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDtM7-0000B6-1t; Wed, 20 Nov 2024 17:39:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=2ZuI6dDfkM8OsNcHCgcDxuNzCaLo5nD1Ro1Qc8LHsLU=; b=evPHuL8duOQtsm7+dIj4 mGRAeptWEqCKXFzzdWQROoTR8pEXDds79Rn05F2UHdOdxrHlqCHs2Kfe2/HtvywhBttEbdirchWAx Xzo3clCPgnhA/NU9NPHEEcqE8OtpFhxzrkIF2BpHa7DaB++gih1SZ8/f4HCanGsSRdE8WHc6Rhw80 HIVxeL7ni9LMfc1IwtwPqpSvMX5g/qzdhX3ToFflctR1BXVjbtQT2h/HCdlGQ4xZUjmuw9cCmnOj7 bT0e06SfxuzP9Lw4ip4Faryb+HnJzRxcXkdd+4wQFoYCHDbXOBGMjivRDMFFu8JVlYsTLy78il49v KiX6J/NbtZPblw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Tomas Volf's message of "Sun, 6 Oct 2024 17:40:14 +0200") References: Date: Wed, 20 Nov 2024 23:39:24 +0100 Message-ID: <87r075ttr7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.32 X-Spam-Score: -3.32 X-Migadu-Queue-Id: C90751F22D X-Migadu-Scanner: mx12.migadu.com X-TUID: bDJIizk/Uagu Tomas Volf <~@wolfsden.cz> skribis: > The configuration file is processed sequentially, which meant that there was > no way to set for example log format shared between the server-blocks, because > the final configuration file would have this order: > > ... > http { > ... > server { > } > ... > $extra-content > } > > Moving the extra-content before the serialization of server-blocks resolves > this. > > * gnu/services/web.scm (default-nginx-config): Move extra-content before > server-blocks. > > Change-Id: Ie8286a533dfed575abc58a0f4800706b3ad6adc2 Applied, thanks!