Description
how to config proxy server for apisix to access oauth2 provider in different network
request background
hi apisix team:
因为有区分内外网隔离环境
访问外部认证服务器需要走代理从内网服务器从内网出外网
在Springboot中需要配置代理服务器 like
private WebClient buildByProxyClientConnector(WebClient.Builder webClientBuilder) {
return webClientBuilder.clientConnector(getProxyReactorClientHttpConnector()).build();
}
HttpClient.create(proxyClientProvider())
.proxy(
proxy ->
proxy
.type(ProxyProvider.Proxy.HTTP)
.address(
new InetSocketAddress(
webServiceProperties.getProxyHost(),
Integer.parseInt(webServiceProperties.getProxyPort())))));
这样 使用这个Webclient的请求可以走代理服务器到外网
请问apisix是否支持通过配置来实现这一功能
Environment
- APISIX version : apisix:2.12.1-alpine
Description
how to config proxy server for apisix to access oauth2 provider in different network
request background
hi apisix team:
因为有区分内外网隔离环境
访问外部认证服务器需要走代理从内网服务器从内网出外网
在Springboot中需要配置代理服务器 like
这样 使用这个Webclient的请求可以走代理服务器到外网
请问apisix是否支持通过配置来实现这一功能
Environment