From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: bug#30069: Nginx-location-configuration Date: Wed, 10 Jan 2018 19:46:34 +0100 Message-ID: <20180110184634.GA11128@jurong> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="IJpNTDwzlM2Ie8A6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZLP1-0002fR-GQ for bug-guix@gnu.org; Wed, 10 Jan 2018 13:47:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZLOw-0000PA-JM for bug-guix@gnu.org; Wed, 10 Jan 2018 13:47:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43402) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZLOw-0000P2-D0 for bug-guix@gnu.org; Wed, 10 Jan 2018 13:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZLOw-0007nx-5E for bug-guix@gnu.org; Wed, 10 Jan 2018 13:47:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZLOe-0002aU-Pl for bug-guix@gnu.org; Wed, 10 Jan 2018 13:46:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZLOZ-0000B8-UX for bug-guix@gnu.org; Wed, 10 Jan 2018 13:46:44 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:51930) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZLOZ-00009u-MT for bug-guix@gnu.org; Wed, 10 Jan 2018 13:46:39 -0500 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 30069@debbugs.gnu.org --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, the attached patch attempts to correct a documentation bug for the nginx service. Do people who know the service better agree? Andreas --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-doc-Correct-documentation-of-NGINX-LOCATION-CONFIGUR.patch" >From 3c593d426ce726f6585d736ff27dee59ac081c57 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 10 Jan 2018 19:41:32 +0100 Subject: [PATCH] doc: Correct documentation of NGINX-LOCATION-CONFIGURATION. * doc/guix.texi (Web Services): The body of an NGINX-LOCATION-CONFIGURATION is a list of strings and not a string. --- doc/guix.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index e9ee5127a..c3ce05f79 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15107,11 +15107,12 @@ URI which this location block matches. @anchor{nginx-location-configuration body} @item @code{body} -Body of the location block, specified as a string. This can contain many +Body of the location block, specified as a list of strings. This can contain +many configuration directives. For example, to pass requests to a upstream server group defined using an @code{nginx-upstream-configuration} block, -the following directive would be specified in the body @samp{proxy_pass -http://upstream-name;}. +the following directive would be specified in the body @samp{(list "proxy_pass +http://upstream-name;")}. @end table @end deftp -- 2.15.1 --IJpNTDwzlM2Ie8A6--