I have a script in NodeJS
that connects to an HTTPS API, but the server where the script is located is behind a proxy that does not allow HTTPS output. My query is: How can I make a script so that it uses the internet output of another computer than its proxy if it allows HTTPS connection. I want to say that this same script, if it works on a server with internet access and connects to the HTTPS API. Then, from the server that does not have HTTPS output, I want to use the server's internet that allows HTTPS output, which both servers are within the LAN network.
Greetings.