aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-02-16 18:19:42 +0000
committerChristopher Baines <mail@cbaines.net>2018-05-17 12:10:27 +0100
commit6760ddefdb9dedabba6252618a5acaea45e845ab (patch)
treea9844bfb5fa19c8fc07cd84a55b61d90ec249c73 /doc/guix.texi
parent7376ba4cd4d07b5640ab49acad371a8ef3f090bc (diff)
downloadguix-6760ddefdb9dedabba6252618a5acaea45e845ab.tar
guix-6760ddefdb9dedabba6252618a5acaea45e845ab.tar.gz
services: nginx: Support extra content in the http block.nginx-support-extra-http-block-content
This helpful when adding content to the nginx configuration file, which isn't supported by the record type used for the configuration. For example, like adding proxy_cache_path configuration. * gnu/packages/web.scm (<nginx-configuration>): Add new extra-content field. (nginx-configuration-extra-content): New field accessor. (default-nginx-config): Add support for the extra-content field. * doc/guix.texi (NGINX): Document the new extra-content field.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a12210db8a..36742c63c9 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -15786,6 +15786,10 @@ use the size of the processors cache line.
@item @code{server-names-hash-bucket-max-size} (default: @code{#f})
Maximum bucket size for the server names hash tables.
+@item @code{extra-content} (default: @code{'()})
+Extra content for the @code{http} block. Should be a list of strings or
+G-expressions.
+
@end table
@end deffn