gnu: services: nginx: Fix key verification.

* gnu/services/web.scm (default-nginx-server-config): Fix wrong variable name.
This commit is contained in:
Julien Lepiller 2017-05-01 10:11:13 +02:00
parent 5a10cd4736
commit fa936915ce
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -162,7 +162,7 @@ (define (default-nginx-server-config server)
"")
(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"