From e792c2b1c124d8633de470e0eff8bb9268d2daec Mon Sep 17 00:00:00 2001 From: hexchen Date: Sun, 29 Nov 2020 03:03:47 +0000 Subject: [PATCH] cdn-loadbalancer: fix nginx split_clients --- configuration/server/cdn-lb.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/server/cdn-lb.nix b/configuration/server/cdn-lb.nix index 1de61bc..eca7ee5 100644 --- a/configuration/server/cdn-lb.nix +++ b/configuration/server/cdn-lb.nix @@ -54,7 +54,7 @@ enableACME = true; }; appendHttpConfig = '' - split_clients "$\{remote_addr\}" $cdnhosts { + split_clients "$remote_addr" $cdnhosts { 50% "cdn-node-1.live.hacc.media"; 50% "cdn-node-2.live.hacc.media"; }