nginx如何下掉server中某个节点
In Nginx, the weight parameter must be an integer of 1 or higher. It represents the proportion of traffic a server receives, so setting it to 0 mathematically breaks the load-balancing calculation.
1.You want to temporarily disable that server
If your goal is to stop traffic from going to 10.6.234.165:10001 without deleting the line, use the down parameter instead.
