How to use with nginx?

I am now trying to handle remote requests through the nginx proxy, but there is one problem: the status of ICE cannot be updated effectively.
The server does not use https , but directly passes nginx reverse proxy http to https .

mediasoup does not use HTTP or WebSocket at all, so this is not a question about mediasoup.