Proxy towards s3 domain

I’m having some issues setting up a proxy towards an s3 bucket. Here is the proxy config in my layer0 router:
proxy("sitemapS3", { path: "/sitemaps/sitemap-:param" });
Layer0 config:
sitemapS3: {
domainOrIp: " assets.web.prod.tshiftcdn.com ",
},
This is the error I get:
error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
What am I misunderstanding here?

I think you need to add hostHeader to the layer0 config for that backend: Layer0 Documentation - layer0.config.js

sitemapS3: {
  domainOrIp: "assets.web.prod.tshiftcdn.com",
  hostHeader: "assets.web.prod.tshiftcdn.com",
}

By default Layer0 will pass through the host header from the browser.

@siggnja did @mark.brocato’s answer resolve your issue?