Kong: Kong behind an outgoing corporate proxy

Created on 24 Apr 2018  路  3Comments  路  Source: Kong/kong

Hi,
how would one configure kong to respect an outgoing corporate proxy for external up_stream urls?
Right now it looks like $http_proxy, $https_proxy, $no_proxy are not respected. Looking at nginx there is something like proxy_pass as configuration option but the question is how to configure this propper without breaking kong behavoir.

The environment is: kong runs in a pod within openshift. External http traffic need to go through the outgoing http proxy.
I have tested a curl query against https://httpbin.org/ipwhich was successful and even a nodejs service is able to access resources (they do both respect the http_proxy settings).
What options do I have to configure this propper? Are there maybe any lua-(restiy) plugins that could help?

Thanks for your feedback

Best Regards

Felix

P.S.: Not sure but this could maybe relate to https://github.com/Kong/kong/issues/1271

Most helpful comment

What about Kong Community Edition?

All 3 comments

@felixbecker you may want to consider looking at https://getkong.org/plugins/ee-forward-proxy.

Thx, I guess then this will be the way to go ...

What about Kong Community Edition?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeremyjpj0916 picture jeremyjpj0916  路  59Comments

plukevdh picture plukevdh  路  52Comments

jason-riddle picture jason-riddle  路  40Comments

marktopper picture marktopper  路  41Comments

noamelf picture noamelf  路  36Comments