Run remote cursor server with proxy

I use Cursor with project on a remote instance. Cursor can ssh and copy server there, but the server can’t index project, because access to https://repo42.cursor.sh available only via Proxy.
Is there a way to configure only server to use Proxy?

Edit: I did try to set http.proxy in remote settings.json - didn’t help
Edit 2: setting proxy vars in /etc/environment didn’t help as well
Edit 3: I was able to index the project, editing ~/.cursor-server/bin/9f33c2e793460d00cf95c06d957e1d1b8135fad0/bin/cursor-server

HTTPS_PROXY=http://myproxy HTTP_PROXY=http://myproxy https_proxy=http://myproxy http_proxy=http://myproxy "$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"

But now I’m looking for a proper way to do it

Hi @Gennadiy_Kartashevsk, apologies for the delay here. When using a remote SSH server, we support configuring a proxy via the remote.SSH.httpProxy and remote.SSH.httpsProxy settings.