upyun / slardar

Updating your upstream list and run lua scripts without reloading Nginx.
493 stars 111 forks source link

banlance rule and show upstream #17

Open lemon9921010 opened 7 years ago

lemon9921010 commented 7 years ago

how to change banlance rule and show real upstream ip 3q

yejingx commented 7 years ago

1. Currently, we support two balance modes, rr and hash. You can write your own balance mode by providing new callbacks.

2. What do you mean by show real upstream ip?

lemon9921010 commented 7 years ago

1: write where? when update upstream ok? 2: I update upstream with inner ip addr eg.10.1.x.x , but access log show me outer ip eg. 202.113.x.x