From 7baf6615e9f1e3074f88618d86873366ae85b7d1 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 10 Jan 2018 19:41:32 +0100 Subject: 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(-) (limited to 'doc') 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 -- cgit v1.2.3