在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
nginx_http_gray_moduleFeatures
Dependencies
Installation
git clone [email protected]:luoxiaojun1992/nginx_http_gray_module.git
./configure --add-module=YOUR_DIR/nginx_http_gray_module Configuration
gray test_redis_key 127.0.0.1 6379 Usage
redis-cliset test_redis_key_switch onset test_redis_key_gray_env beta
if ($is_gray) { ...}if ($is_not_gray) { ...}
curl -v -H "X-API-ENV: beta" http://127.0.0.1/xxx |
请发表评论