summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2018-01-10 19:41:32 +0100
committerAndreas Enge <andreas@enge.fr>2018-01-14 16:24:00 +0100
commit7baf6615e9f1e3074f88618d86873366ae85b7d1 (patch)
tree338e9d08a6d9e94532d08a26ca15da6a14f1e2ab /doc
parentbad12e839c2f7823c45aa0121f7d5c9bb70905b7 (diff)
downloadpatches-7baf6615e9f1e3074f88618d86873366ae85b7d1.tar
patches-7baf6615e9f1e3074f88618d86873366ae85b7d1.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6245d54e8d..e32e03292e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -15122,11 +15122,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