Using fleet agent with proxy

Hi,

I am trying to install the elastic agent 7.14.0 on linux. I am behind a proxy so we tried setting the proxy by doing:

EXPORT HTTPS_PROXY=ip:port

As I saw Elastic Agent (Fleet Deployment) behind a proxy only I dont know if this should work in this version. For us it didn't seem to work. Can anyone confirm if it should work in this version?

Thanks in advance!