hunk.code_window: The Hasura GraphQL Engine supports HTTP compression.
   The server looks for the ``Accept-Encoding`` header in request.
   If the header contains ``br`` then the server uses `Brotli <https://en.wikipedia.org/wiki/Brotli>`__ compression else if the header contains
   ``gzip`` then the server uses `Gzip <https://en.wikipedia.org/wiki/Gzip>`__ compression.
   If both values are present then the server prefers ``Brotli`` over ``Gzip``.
   Also, the server sets the ``Content-Encoding`` response header value to ``br`` for ``Brotli`` compression or ``gzip`` for ``Gzip`` compression.
   **Only responses from "/v1/query" and "/v1/graphql" endpoints are compressed.**
hunk.labels: keep keep keep replace replace replace replace keep keep
hunk.after_edit: If the header contains ``gzip`` then the server uses `Gzip <https://en.wikipedia.org/wiki/Gzip>`__ compression.
   Also, the server sets the ``Content-Encoding`` response header value to ``gzip``.
  
hunk.file_path: docs/graphql/manual/deployment/compression.rst
hunk.type: replace
file: # replace :80 with your domain name to get automatic https via LetsEncrypt
  :80 {
      proxy / graphql-engine:8080 {
          websocket
      }
  }
  