summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-03-16 02:16:38 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-03-16 03:19:55 +0100
commit2ec46078630a09b326822a7565fc7764fd9957a7 (patch)
tree91741e7df30f622f281fc6ed1b12f3bdb4ce47ab /gnu/services
parent8bbbbb39350eb559951972abae2622195393b51e (diff)
downloadpatches-2ec46078630a09b326822a7565fc7764fd9957a7.tar
patches-2ec46078630a09b326822a7565fc7764fd9957a7.tar.gz
services: nginx: Fix broken default configuration.
* gnu/services/web.scm (nginx-configuration): Emit an empty events{} block by default. * doc/guix.texi (Web Services): Document it.
Diffstat (limited to 'gnu/services')
-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 3edc751ea2..ac247ec39a 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -529,7 +530,8 @@
(server-names-hash-bucket-max-size nginx-configuration-server-names-hash-bucket-max-size
(default #f))
(modules nginx-configuration-modules (default '()))
- (global-directives nginx-configuration-global-directives (default '()))
+ (global-directives nginx-configuration-global-directives
+ (default '((events . ()))))
(extra-content nginx-configuration-extra-content
(default ""))
(file nginx-configuration-file ;#f | string | file-like