无法构buildwebsocket

在浏览器上运行应用程序时,我在控制台中看到了这个错误。

我已经docker化我的应用程序,并使用https的nginx代理。

我知道这是要求我打开端口53703,但我没有得到在哪里打开aws或docker运行命令中的端口? 我也通过aws使用它。

Mixed Content: The page at 'https://xuz.xyz.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://xuz.xyz.com:53703/'. This request has been blocked; this endpoint must be available over WSS Mixed Content: The page at 'https://xuz.xyz.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://xuz.xyz.com:53703/'. This request has been blocked; this endpoint must be available over WSS

  Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. at Object.openConnection (https://xuz.xyz.com/__ion-dev-server/ion-dev.js?v=2.0.2:101:19) at Object.start (https://xuz.xyz.com/__ion-dev-server/ion-dev.js?v=2.0.2:18:10) at https://xuz.xyz.com/__ion-dev-server/ion-dev.js?v=2.0.2:465:16 

注:我知道盾牌图标,但不想让不安全的脚本。