summary refs log tree commit diff
path: root/gnu/services.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2016-12-13 21:00:53 +0100
committerLudovic Courtès <ludo@gnu.org>2017-01-03 14:30:44 +0100
commitd338237d8c2408e0cd13ecfeb303e327ff7e3d9b (patch)
treefdf7d55e0c66a164af2a15d3b45b73679aab703a /gnu/services.scm
parent4e9ae301ce759f9cf9a09f47dc521d0bc8409f6c (diff)
downloadguix-d338237d8c2408e0cd13ecfeb303e327ff7e3d9b.tar.gz
services: nginx: Make service extensible.
* gnu/services/web.scm (<nginx-configuration>)[server-blocks]: New
field.
(nginx-activation): When CONFIG-FILE is #f, use 'default-nginx-config'.
(nginx-shepherd-service): Likewise.
(nginx-service-type): Add 'compose' and 'extend' fields.
(nginx-service): Change default value of #:server-list to '(), and
default value of #:config-file to #f.
* doc/guix.texi (Web Services): Document it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services.scm')
0 files changed, 0 insertions, 0 deletions