@pyrogoth wrote:
Hi there,
I’m really struggling to find an answer to this on the forums - there’s a few answers that are close to what I’m looking for but nothing has worked so far!So, basically I want the server IP that HAProxy is on to forward port 80 traffic to a single backend file which is located in an s3 bucket.
I can get really close with just:
frontend example bind *:80 default_backend example backend example server test 192.168.X.X:80 redir https://s3.bucket.url/path/thefile.jsBut forwarded traffic arrives at “https://s3.bucket.url/path/thefile.js/” and I can’t see a way of removing the trailing slash on a redirected backend - even though it’s pointing directly at a file.
I am using a compiled HA-Proxy v1.8.8
Any help/advise would be greatly appreciated!
Posts: 1
Participants: 1