aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-05-01 10:11:13 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-05-01 10:12:49 +0200
commitfa936915cef6cea7b4ac9f65d0d6e408cbdb78f2 (patch)
tree5a6e0c25551c4e4af9a354dfde6a5e4a3b01bbde /gnu/services
parent5a10cd4736342160d93d2e1d5797b6cc6baebd0a (diff)
downloadpatches-fa936915cef6cea7b4ac9f65d0d6e408cbdb78f2.tar
patches-fa936915cef6cea7b4ac9f65d0d6e408cbdb78f2.tar.gz
gnu: services: nginx: Fix key verification.
* gnu/services/web.scm (default-nginx-server-config): Fix wrong variable name.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/web.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 9f789707ef..f85b412159 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -162,7 +162,7 @@ of index files."
"")
(if (nginx-server-configuration-ssl-certificate-key server)
(let ((key (nginx-server-configuration-ssl-certificate-key server)))
- (lstat certificate)
+ (lstat key)
(string-append " ssl_certificate_key " key ";\n"))
"")
" root " (nginx-server-configuration-root server) ";\n"