How to configure frontity behind an AWS ALB?

I have some frontity app. This works locally:

  "match": ["http://localhost:3001"],
  "state": {
    "frontity": {
      "url": "http://localhost:3001",

How can I get this working behind an AWS Application Loadbalancer?
https://my-url --> ALB (ssl termination) --> ECS container with frontity

I tried to configue the https::/my-url but it’s not working. Can I do something with X-Forwarded headers?