diff options
author | Christopher Baines <mail@cbaines.net> | 2018-02-16 18:19:42 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-11 18:51:07 +0100 |
commit | b322645dea4564b8b5aed525f43db67de941c210 (patch) | |
tree | b182646dade3325ecb84c7ba4d3cf0d4057a1f75 /doc | |
parent | b19950a184a9b7506f9be4ecaa043e5a7e460b52 (diff) | |
download | guix-nginx-support-extra-http-block-content-with-strings.tar guix-nginx-support-extra-http-block-content-with-strings.tar.gz |
services: nginx: Support extra content in the http block.nginx-support-extra-http-block-content-with-strings
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')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 13b42f59f3..e734147681 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15938,6 +15938,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 string or a string +valued G-expression. + @end table @end deffn |