Change socket.io port connect from browser

Hello everyone, I’m facing a issue when config port for socket.io service. I use nginx as a proxy handle ssl and pass all request to frappe web app. The app will make a request https://domainabc.com:port/socket.io/ to create a connection to socket.io service, but value of port same as socketio_port in common_site_config.json and same port socket.io server start. I must expose the port from docker and the issue appear here, nginx and docker conflict handle the port. So, how to config the socket.io port in web app separate from docker port socket.io start?

Thank you!