Confgure HA proxy as a reverse proxy for AWS S3 stati files

Hello Guys ,
I need some help with this , scenario , I need the web clients to reach my s3 bucket for static files through HA Proxy , current haproxy.cfg configuration is as below

frontend http
bind *:443 ssl crt /etc/ssl/certs/haproxy.pem
default_backend webapps
option forwardfor
backend webapps
balance roundrobin
server server1 sni str(

HA proxy should do the below URL rewriting at the proxy (at the backend) ==>
any help is highly appreciated