aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-07-30 13:51:35 +0100
committerChristopher Baines <mail@cbaines.net>2017-08-22 17:49:00 +0100
commitad4cc435e86c51b7777f09c29f9f94d0971e26fc (patch)
treefc9f396d751ac0b94ba5d41f0316fccb6c8b29d3
parente4b729f89c07b8937db7f96d6076201130f0a3bf (diff)
downloadgnu-guix-ad4cc435e86c51b7777f09c29f9f94d0971e26fc.tar
gnu-guix-ad4cc435e86c51b7777f09c29f9f94d0971e26fc.tar.gz
web: Add default-value for the nginx-service-type.
* gnu/services/web.scm (nginx-service-type)[default-value]: Use (nginx-configuration).
-rw-r--r--gnu/services/web.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 4156b1a56e..aefae5aedb 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -324,7 +324,9 @@ of index files."
(inherit config)
(server-blocks
(append (nginx-configuration-server-blocks config)
- servers)))))))
+ servers)))))
+ (default-value
+ (nginx-configuration))))
(define* (nginx-service #:key (nginx nginx)
(log-directory "/var/log/nginx")