-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Labels
Description
Is there a way to specify a proxy for outgoing requests?
At work we have to pass requests that go to the internet trough a proxy. I have http_proxy and https_proxy environment variables set, and most command line utilities like curl, git and so on use those env vars, but when I do something like
--rewrite '/api/* -> https://external-service.example.com/api/$1'
the https://external-service.example.com/api/$1 requests do not use the proxy for the outgoing connection.
Am I doing something wrong, or is a proxy just not supported?