title: Can nginx do transparent compression of websocket connections?
body: <p>I have nginx acting as reverse-proxy for an ASP.net / Kestrel back-end server.</p>
  
  <p>I'd like nginx to do gzip compression (ie, permessage-deflate / rfc7692) for my Websocket connections, but I can't find any config options for that.</p>
  
  <p>Can nginx do that? Are there any plugins to make it work? If no, is there something else I can use?</p>