Caddy v2 wesocket load balance

This is configuration is valid for ws? I get config from Websockets over https

reverse_proxy 1.1.1.1:82 1.1.1.2:82 {
  header Connection *Upgrade*
  header Upgrade websocket
}