guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: doc: Replace upstream-list with upstream-blocks.


From: Christopher Baines
Subject: 03/03: doc: Replace upstream-list with upstream-blocks.
Date: Sun, 10 Sep 2017 07:00:17 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit c2a59a92bb18360f26d251c8b1b121b40b1bc806
Author: Christopher Baines <address@hidden>
Date:   Sun Sep 10 11:48:34 2017 +0100

    doc: Replace upstream-list with upstream-blocks.
    
    This fixes the documentation to match the implementation.
    
    * doc/guix.texi (Web Services): Replace 'upstream-list' with
      'upstream-blocks'.
---
 doc/guix.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index be11520..0399c39 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14105,12 +14105,12 @@ HTTPS.
                      (ssl-certificate-key #f))))))
 @end example
 
address@hidden @code{upstream-list} (default: @code{'()})
address@hidden @code{upstream-blocks} (default: @code{'()})
 A list of @dfn{upstream blocks} to create in the generated configuration
 file, the elements should be of type
 @code{<nginx-upstream-configuration>}.
 
-Configuring upstreams through the @code{upstream-list} can be useful
+Configuring upstreams through the @code{upstream-blocks} can be useful
 when combined with @code{locations} in the
 @code{<nginx-server-configuration>} records.  The following example
 creates a server configuration with one location configuration, that
@@ -14133,7 +14133,7 @@ requests with two servers.
                   (nginx-location-configuration
                   (uri "/path1")
                   (body '("proxy_pass http://server-proxy;";))))))))
-    (upstream-list
+    (upstream-blocks
       (list (nginx-upstream-configuration
               (name "server-proxy")
               (servers (list "server1.example.com"
@@ -14143,7 +14143,7 @@ requests with two servers.
 @item @code{file} (default: @code{#f})
 If a configuration @var{file} is provided, this will be used, rather than
 generating a configuration file from the provided @code{log-directory},
address@hidden, @code{server-blocks} and @code{upstream-list}.  For
address@hidden, @code{server-blocks} and @code{upstream-blocks}.  For
 proper operation, these arguments should match what is in @var{file} to ensure
 that the directories are created when the service is activated.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]