cloudflare / cloudflare/cloudflared
Proxy to a different path on the origin service
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
In the ingress rules, it would be great to have the option to define a location of the service and not "only" a URL limited to protocol, hostname and IP (for http), e.g. `http://192.168.178.1/nas`
**Describe the solution you'd like**
I do not think a new option is needed, it could just be a part of the `service` URL.
**Describe alternatives you've considered**
Could also be added using an additional variable, like it is done for `path` on the hostname.
**Additional context**
If I add a URL with a location attached, I get the error:
`http://192.168.178.1/nas is an invalid address, ingress rules don't support proxying to a different path on the origin service. The path will be the same as the eyeball request's path`
Contributor guide
Assessment
This issue has not been assessed yet.