web: Add default-value for the nginx-service-type.

* gnu/services/web.scm (nginx-service-type)[default-value]:
  Use (nginx-configuration).
master
Christopher Baines 2017-07-30 13:51:35 +01:00
parent e4b729f89c
commit ad4cc435e8
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 3 additions and 1 deletions

View File

@ -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")