Hi.
Am 22-02-2017 14:54, schrieb Dr Josef Karthauser:
Hi there,
Is it possible to setup haproxy to rewrite content?
I’ve got URLs in the body of the http responses, and I want to rewrite
them like in the headers.
The docs suggest that ‘rsprep’ ought to be able to do it, but I can’t
get it to work - so I’m wondering whether haproxy’s rewriting ability
are restricted to the headers.
As far as I know is body rewriting not possible yet.
If so, is there a workaround available?
Not with haproxy.
nginx have a substitution module.
http://nginx.org/en/docs/http/ngx_http_sub_module.html
Maybe this helps.
Thanks,
Joe
Regards Aleks