all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: 30069@debbugs.gnu.org
Subject: bug#30069: Nginx-location-configuration
Date: Wed, 10 Jan 2018 19:46:34 +0100	[thread overview]
Message-ID: <20180110184634.GA11128@jurong> (raw)

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

Hello,

the attached patch attempts to correct a documentation bug for the nginx
service. Do people who know the service better agree?

Andreas


[-- Attachment #2: 0001-doc-Correct-documentation-of-NGINX-LOCATION-CONFIGUR.patch --]
[-- Type: text/plain, Size: 1214 bytes --]

From 3c593d426ce726f6585d736ff27dee59ac081c57 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
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


             reply	other threads:[~2018-01-10 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 18:46 Andreas Enge [this message]
2018-01-10 19:56 ` bug#30069: Nginx-location-configuration Andreas Enge
2018-01-10 22:24 ` Clément Lassieur
2018-01-14 15:26   ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180110184634.GA11128@jurong \
    --to=andreas@enge.fr \
    --cc=30069@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.