Hi Jeff,
If the file is only stored in the FS and you can't put its content into
HAProxy's memory at run time (using a map as explained by Jarno), then you
may want to use SPOE.
So the blocking files IO will be done in a process running outside of
HAProxy.
You have an SPOA (agent) example in HAPro
Hi,
On Sun, Mar 03, Jeff wrote:
> I need to add an authorization header for a target server, e.g.
>http-request add-header Authorization Bearer\ MYTOKENDATA
>
> where MYTOKENDATA is read from a file for each proxy message.
Does this mean that each http request needs to read the MYTOKENDATA f
I need to add an authorization header for a target server, e.g.
http-request add-header Authorization Bearer\ MYTOKENDATA
where MYTOKENDATA is read from a file for each proxy message.
(MYTOKENDATA is written asynchronously to the file by another
process.)
How to do this in HAProxy?
thanks,
Je
3 matches
Mail list logo