cdn-loadbalancer: fix nginx split_clients

This commit is contained in:
hexchen 2020-11-29 03:03:47 +00:00
parent 94859c0dbb
commit e792c2b1c1

View file

@ -54,7 +54,7 @@
enableACME = true; enableACME = true;
}; };
appendHttpConfig = '' appendHttpConfig = ''
split_clients "$\{remote_addr\}" $cdnhosts { split_clients "$remote_addr" $cdnhosts {
50% "cdn-node-1.live.hacc.media"; 50% "cdn-node-1.live.hacc.media";
50% "cdn-node-2.live.hacc.media"; 50% "cdn-node-2.live.hacc.media";
} }