Http_proxy setting for tyk

My tyk setup is deployed behind a proxy and I want to configure the proxy in tyk. But I’m unable to find any setting related to proxy. I’m using the community (open source) version of tyk. Please let me know whether tyk supports proxy or not and if yes where should we configure the http_proxy URL. Thanks.

Hello @Ashish_Shetty,

Welcome back to the community.

Tyk respects HTTP_PROXY and HTTPS_PROXY environment variables.

In the configuration, you may either enter a complete URL or a “host[:port]“, in which case the “http” scheme is assumed. An error is returned if the value is a different form.

On the API level, you can set “proxy.transport.proxy_url” variable in the raw API definition.

Kindly check this document for more details – > https://tyk.io/docs/tyk-apis/tyk-gateway-api/api-definition-objects/proxy-settings/

Thanks