I tried the reverse proxy method. The video cannot play in the /engage/theodul/ui/core.html page. The screenshot is as below, pay attention to the browser console 404 not found error, the URL to the viedo is still localhost. This task was added after I switched to the reverse proxy method.
Finally, I switched the no-proxy mode and change the access domain name before start opencast service for the very first time.