aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-06-23 12:38:37 +0100
committerChristopher Baines <mail@cbaines.net>2022-07-01 09:45:28 +0100
commitb5c6062bcec9530a9c4044a1bd1091fdebf9bc74 (patch)
tree5c8e017bbc00a4e000e72537b1d86c1486268420 /doc
parent9a2a77b6ada212e5c47d0e9fe8446130ba632afe (diff)
downloadguix-b5c6062bcec9530a9c4044a1bd1091fdebf9bc74.tar
guix-b5c6062bcec9530a9c4044a1bd1091fdebf9bc74.tar.gz
services: nginx: Add support for extra content in upstream blocks.
I'm looking at this as I'd like to use the keepalive functionality. * gnu/services/web.scm (nginx-upstream-configuration-extra-content): New procedure. (emit-nginx-upstream-config): Include the extra-content if applicable. * doc/guix.texi (NGINX): Document this.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 814965b22c..cf373b6cbd 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -28531,6 +28531,9 @@ prefix @samp{unix:}. For addresses using an IP address or domain name,
the default port is 80, and a different port can be specified
explicitly.
+@item @code{extra-content}
+A string or list of strings to add to the upstream block.
+
@end table
@end deftp