-
Notifications
You must be signed in to change notification settings - Fork 3.1k
URI support in proxy_pass #98
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
Comments
The former is already the case with Custom Locations released on 2.0.10. The latter could be an enhancement to that feature. |
From what I see in genrated file, the |
…ard to custom path.
I just opened this PR #99 that resolves the sub-folder forwarding. |
Hi, Not sure where the problem is , but there is a bug in this feature. |
That responds with a blank page. |
The nginx
proxy_pass
directive supports an URI:See http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass
It would be useful to support this. This could be especially useful for custom locations, where one would want to forward without the location part. For example, with:
The following forwarding would occur:
http://example.com/sub/index.html
->http://192.168.1.1:8080/index.html
Or with:
We would have:
http://example.com/sub/index.html
->http://192.168.1.1:8080/other/index.html
The text was updated successfully, but these errors were encountered: