Http, https proxy - When there is no direct Internet connection

Hi!
Can you please tell me if it is possible to redirect all requests through http, https proxy.
My server does not have a direct connection to the Internet and should not.
Incoming connections work through haproxy on a separate server.

n8n does sadly have nothing like that build in. But you should be able to use the environment variables HTTP_PROXY and HTTPS_PROXY for outgoing calls as n8n uses under the hood the request library which supports them.

It works, thank you.

Great to hear. You are welcome!

Have fun!

Yes, you can configure n8n to use HTTP_PROXY and HTTPS_PROXY environment variables for outbound requests. Set them in your docker-compose or environment file pointing to your proxy server. For secure remote access to isolated environments, I’ve been using the fast vpn app and it’s been mostly great. Connection stability is solid, speeds are good for remote admin work, and the interface is intuitive. Had one instance where reconnection was slow and occasional minor speed dips, but overall it’s reliable and affordable for accessing restricted networks securely.