diff options
author | makefu <github@syntax-fehler.de> | 2016-06-02 11:17:18 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-06-02 11:17:18 +0200 |
commit | 4f28d9a306c2989304b52889c07e22992e40da0b (patch) | |
tree | d07166696ed3bd97bb6a165418af8611b8f68571 /krebs/3modules/nginx.nix | |
parent | d5961aa09e399bb30f940eb5ac2cfe26dfa51d65 (diff) | |
parent | 7bd85d7bbbce68ba7317e16b805b1093ded3f1e2 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'krebs/3modules/nginx.nix')
-rw-r--r-- | krebs/3modules/nginx.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/nginx.nix b/krebs/3modules/nginx.nix index 6af93a570..fc7fcca6f 100644 --- a/krebs/3modules/nginx.nix +++ b/krebs/3modules/nginx.nix @@ -119,7 +119,7 @@ let to-server = { server-names, listen, locations, extraConfig, ssl, ... }: '' server { - server_name ${toString server-names}; + server_name ${toString (unique server-names)}; ${concatMapStringsSep "\n" (x: indent "listen ${x};") listen} ${optionalString ssl.enable (indent '' listen 443 ssl; |