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