How to write Apache ProxyPass* rules in HaProxy V2.2

Hello,

I use HaProxy V2.2 and want to write Apache ProxyPass and ProxyPassReverse directives in HaProxy.

I found your example in “HOWTO Write Apache ProxyPass* Rules in HAProxy - HAProxy Technologies 1” but it’s deprecated with HaProxy V2.2 version

Could you please help me how to adapt these following simple Apache directives ?

<Location /custom/include/>
ProxyPass https://my-other-domain/custom/include/
ProxyPassReverse https://my-other-domain/custom/include/

Thank you for your help.

Chris