Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy configuration issue in servlet transport #3228

Open
DaniduWijendra opened this issue Oct 9, 2024 · 0 comments · May be fixed by wso2/carbon-apimgt#12703
Open

Proxy configuration issue in servlet transport #3228

DaniduWijendra opened this issue Oct 9, 2024 · 0 comments · May be fixed by wso2/carbon-apimgt#12703

Comments

@DaniduWijendra
Copy link

Problem

When there are multiple hosts need to be proxied for the servlet transport, there is a restriction to define only one host with the current configuration.

[apim.proxy_config]
enable = true
host =  "proxyservie.abc.com" 
port = "80"
nonProxyHosts = "localhost|127.0.0.1|10.*.*.*|\\*.example.org| \\*.abc.com"
protocol = "HTTP"

Hence we need to improve the configuration model when there are multiple hosts that need to be proxied instead of using nonProxyHosts parameter.

[1] https://apim.docs.wso2.com/en/4.1.0/install-and-setup/setup/advance-configurations/changing-the-default-transport/#transport-sender-parameters

Solution

Need to define new configuration model to configure proxy for servlet transport which allows to use multiple hostnames

Affected Component

APIM

Version

4.1.0

Implementation

No response

Related Issues

No response

Suggested Labels

APIM

BLasan added a commit to BLasan/carbon-apimgt that referenced this issue Nov 19, 2024
BLasan added a commit to BLasan/carbon-apimgt that referenced this issue Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant