Set up apex and root redirects for admin and api.