I'd like to create a header that contains the full URL of the request. So for example:
reqadd X-Request-URL:\ ${X-Forwarded-Proto}:\/\/${Host}${Path}
Is something like this possible?
|
I'd like to create a header that contains the full URL of the request. So for example:
Is something like this possible? |
|||
|
|
|
Unfortunately, no. The header manipulation configuration commands only support adding or substituting in static strings, not dynamic variables. HAProxy remains relatively lightweight in this way in order to keep it's speed up. |
|||||
|