From patchwork Tue Jul 26 18:07:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tiantian X-Patchwork-Id: 41009 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E09B27BBEA; Tue, 26 Jul 2022 19:19:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 083E127BBE9 for ; Tue, 26 Jul 2022 19:19:29 +0100 (BST) Received: from localhost ([::1]:42274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGP9U-0006n7-6F for patchwork@mira.cbaines.net; Tue, 26 Jul 2022 14:19:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGP94-0006m8-Mw for guix-patches@gnu.org; Tue, 26 Jul 2022 14:19:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGP94-00010n-2x for guix-patches@gnu.org; Tue, 26 Jul 2022 14:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGP93-0002Oq-VB for guix-patches@gnu.org; Tue, 26 Jul 2022 14:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56783] [PATCH] doc: fix description for extra-content-ahead References: In-Reply-To: Resent-From: typ22@foxmail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Jul 2022 18:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56783 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56783@debbugs.gnu.org Cc: tiantian Received: via spool by 56783-submit@debbugs.gnu.org id=B56783.16588595119167 (code B ref 56783); Tue, 26 Jul 2022 18:19:01 +0000 Received: (at 56783) by debbugs.gnu.org; 26 Jul 2022 18:18:31 +0000 Received: from localhost ([127.0.0.1]:54393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGP8Y-0002Nn-Rj for submit@debbugs.gnu.org; Tue, 26 Jul 2022 14:18:31 -0400 Received: from out203-205-221-202.mail.qq.com ([203.205.221.202]:42663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGP8U-0002NQ-Ao for 56783@debbugs.gnu.org; Tue, 26 Jul 2022 14:18:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1658859496; bh=Kayz3gLiaLet0Tylbu1CUTgJ3m5YczU7bO/boxqRq2w=; h=From:To:Cc:Subject:Date; b=AGqAq6AgzU/S7QO2VbUEw6/i9215HLFeH6320bUVxx2iBl+Y2QiSIJZNeNNzVJi+k 2Mm8Q3OhDALPMuCfl01/GNw6LQlfPZzv7OTSeHSDzO5oSpnsJhlsETKw/Y12lt854t SpN2wJci8x77IfG0OhWaGCO9p+IOI6rP7vGTk394= Received: from tt-arch.localdomain ([240e:398:28a7:e711:47ea:6145:f832:d560]) by newxmesmtplogicsvrsza7.qq.com (NewEsmtp) with SMTP id 48F25057; Wed, 27 Jul 2022 02:18:15 +0800 X-QQ-mid: xmsmtpt1658859495t7ddzsls4 Message-ID: X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25db8c0aed81.1658853758.git.typ22@foxmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: tiantian Hello, After reading other people's patch emails, I was surprised to find that I can write common messages. Before, I thought I had to follow the format of commit logs. Sorry, due to my first time sending a patch, tension and poor English lead to guix.texi is wrong. I'm so sorry. The original purpose of this patch is to solve the problem that log_format can't used, when we don't use an existing file. log_format must be placed in http block and before using it. Current nginx-configuration can't meet this requirement. Honestly, just to solve the problem, adding log-formats field may be enough. But, I don't think there is only one problem that log_format can't be used. I think there may be other directives like log_format can't be used. So, I add a field to place extra content before server blocks and upstream blocks. It is simple and flexible. I am a novice, whether using nginx or submitting patches. If I make mistakes, please correct me, thank you. Thanks, tiantian * doc/guix.texi(Web Services): Correct the description of extra-content-ahead in nginx-configuration. --- doc/guix.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 83cf86c8f4..b5e17564d4 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -28697,7 +28697,8 @@ Web Services valued G-expression. @item @code{extra-content-ahead} (default: @code{""}) -Like extra-content, but it's located at upstream blocks and server blocks. +Like @code{extra-content} above, but it's located at ahead of +@code{upstream-blocks} and @code{server-blocks}. @end table @end deffn