cycle conf versus on command conf
Ian Labbé
ian.labbe at gmail.com
Sun Mar 29 18:57:21 UTC 2015
i would like to to a load balancing redis module.ill have groups of nodes
define like what will follow. do i have to do that with the create_conf
member of core_module struct or in the block_conf command "redis" ?
here the example of conf in nginx.conf:
redis {
redis_group groupName1 {
redis_node addr port weight;
redis_node addr port weight;
redis_node addr port weight;
}
redis_group groupName2 {
redis_node addr port weight;
}
}
so, is it better to do the config when redis command is called or in the
create_conf module_core member when it is called in the ngx_cycle.c?
thank you for your help.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20150329/6cf2f8c2/attachment.html>
More information about the nginx-devel
mailing list