Allow proxy only in dev env