I have to fill in the below headers for the service to create a correct absolute link:
X-Forwarded-Host
X-Forwarded-Proto
X-Forwarded-Prefix
I have the host and port, but I would like to extract a piece of the context path:
For example, in the given URL being sent to marathon https://host/path/to/app-name/x/y/z I would like to extract /path/to/app-name and set to X-Forwarded-Prefix
If no such documentation link exists, can someone show me how it's done, and I can add a documentation link?
Can someone please point me to a link which lists all of the allowed expressions like %[dst_port] or %[req.hdr(host)]
I want to fill in forward headers like below:
I have to fill in the below headers for the service to create a correct absolute link:
I have the host and port, but I would like to extract a piece of the context path: For example, in the given URL being sent to marathon
https://host/path/to/app-name/x/y/z
I would like to extract/path/to/app-name
and set toX-Forwarded-Prefix
If no such documentation link exists, can someone show me how it's done, and I can add a documentation link?