Nginx/Lua configuration/script for balancing requests by url to cdn nodes