services: nginx: Join strings with spaces.
* gnu/services/web.scm (config-domain-strings, config-index-strings): Use "string-join" to join strings with spaces.
This commit is contained in:
parent
7edd195ac8
commit
819c1945d1
|
@ -72,7 +72,7 @@
|
||||||
(define (config-domain-strings names)
|
(define (config-domain-strings names)
|
||||||
"Return a string denoting the nginx config representation of NAMES, a list
|
"Return a string denoting the nginx config representation of NAMES, a list
|
||||||
of domain names."
|
of domain names."
|
||||||
(string-concatenate
|
(string-join
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
('default "_")
|
('default "_")
|
||||||
((? string? str) str))
|
((? string? str) str))
|
||||||
|
@ -81,7 +81,7 @@ of domain names."
|
||||||
(define (config-index-strings names)
|
(define (config-index-strings names)
|
||||||
"Return a string denoting the nginx config representation of NAMES, a list
|
"Return a string denoting the nginx config representation of NAMES, a list
|
||||||
of index files."
|
of index files."
|
||||||
(string-concatenate
|
(string-join
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
((? string? str) str))
|
((? string? str) str))
|
||||||
names)))
|
names)))
|
||||||
|
|
Loading…
Reference in New Issue