Customize Websocket url

Description

Is it possible to change websocket url???
like from host/websocket to host/some_prefix_path/websocket

Additional Information

I have tried a fix where the env variable ROOT_URL has to be changed from host to host/some_prefix_path and configure it in gateway. Does meteor overwrites the ROOT_URL and takes only the host leaving the prefix??

Server Setup Information

  • Version of Rocket.Chat Server: 3.2.1
  • Operating System: Linux
  • Deployment Method: Kubernetes (Docker)
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.14.1 - x64
  • MongoDB Version: 4.2.6