services: nginx: Support extra content in the http block.
authorChristopher Baines <mail@cbaines.net>
Fri, 16 Feb 2018 18:19:42 +0000 (18:19 +0000)
committerChristopher Baines <mail@cbaines.net>
Tue, 12 Jun 2018 20:18:10 +0000 (21:18 +0100)
commit25e071ead9ddf701485750eec41fd869e310eab0
tree369b7432df89f8dc59995ae1d8f3d72dbf5be504
parentbea07c7f550e0031950a333044699a1126f765fa
services: nginx: Support extra content in the http block.

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.
doc/guix.texi
gnu/services/web.scm