Port nginx module from Redbooth private repo