forked from hacc/haccfiles
cdn-loadbalancer: fix nginx split_clients
This commit is contained in:
parent
94859c0dbb
commit
e792c2b1c1
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue