[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: services: nginx: Fix key verification.
From: |
julien lepiller |
Subject: |
01/01: gnu: services: nginx: Fix key verification. |
Date: |
Mon, 1 May 2017 04:13:15 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit fa936915cef6cea7b4ac9f65d0d6e408cbdb78f2
Author: Julien Lepiller <address@hidden>
Date: Mon May 1 10:11:13 2017 +0200
gnu: services: nginx: Fix key verification.
* gnu/services/web.scm (default-nginx-server-config): Fix wrong variable
name.
---
gnu/services/web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 9f78970..f85b412 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"