From 78284f5e60c6176f289eb59f582671274e5ce240 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Wed, 31 Jul 2019 13:52:19 +0200 Subject: [PATCH] haproxy: supression espaces inutiles --- services/haproxy-acme.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/haproxy-acme.nix b/services/haproxy-acme.nix index 312ad43..48df698 100644 --- a/services/haproxy-acme.nix +++ b/services/haproxy-acme.nix @@ -36,13 +36,11 @@ let http-response set-header Strict-Transport-Security max-age=15768000 use_backend letsencrypt-backend if letsencrypt-acl use_backend haproxy_stats if haproxy-acl - ${concatStrings ( mapAttrsToList (name: value: " acl ${name}-acl hdr(host) -i ${name}\n" + " use_backend ${name}-backend if ${name}-acl\n" ) cfg.services)} - backend letsencrypt-backend mode http server letsencrypt 127.0.0.1:${toString nginx_port} @@ -52,7 +50,6 @@ let stats hide-version acl AuthOK_LOUTRE http_auth(LOUTRE) http-request auth realm LOUTRE if !AuthOK_LOUTRE - ${concatStrings ( mapAttrsToList (name: value: '' @@ -78,7 +75,6 @@ let ) else "")} '' ) cfg.services)} - ''; in {