From 4e9ae301ce759f9cf9a09f47dc521d0bc8409f6c Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 13 Dec 2016 20:48:16 +0100 Subject: services: nginx: Fix multiple index and server name. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/web.scm (config-domain-strings, config-index-string): separate names with a space. Signed-off-by: Ludovic Courtès --- gnu/services/web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/services') diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 12a146d8b0..a36352225e 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -74,8 +74,8 @@ (define (config-domain-strings names) of domain names." (string-join (map (match-lambda - ('default "_") - ((? string? str) str)) + ('default "_ ") + ((? string? str) (string-append str " "))) names))) (define (config-index-strings names) @@ -83,7 +83,7 @@ (define (config-index-strings names) of index files." (string-join (map (match-lambda - ((? string? str) str)) + ((? string? str) (string-append str " "))) names))) (define (default-nginx-server-config server) -- cgit v1.2.3