Are you saying either solution will work, or are both required?
Where is STRAPI_ADMIN_BACKEND_URL set?