$ 0 0 Your best bet is to go for Lua, reloading nginx conf is an option but can lead to problems when done too many times.