大神! nginx如何根据url参数动态限速?
nginx吧
全部回复
仅看楼主
level 1
gloriousous 楼主
大神! nginx如何根据url参数动态限速?
limit_rate 100k; //这样是写死的
我这样访问htt://123.123.123.11?limit=100
如果根据 GET 参数,获取limit后面值,在location 里面动态设置 limit_rate=limit?
求解决,谢谢了
2016年05月14日 09点05分 1
level 1
gloriousous 楼主
人呢
2016年05月21日 14点05分 2
1