How to connect to an Elastic Datasource through proxy

Hi, I have an Elastic cluster and I’d like to use it as a datasource. The cluster only allows to connect through a proxy so I can’t connect to it directly from Grafana. I can’t seem to find any documentation on how to achieve the connection through a proxy. Is there any configuration i can set ? I have Grafana v8.1, I can upgrade if necessary. Grafana is running on a Debian machine.