With AWS Copilot how to create AWS ALB rules to redirect?

69 views Asked by At

Is it possible to create ALB rules to redirect using AWS CoPilot? Something like below?

http:
  - path: "/*"
    priority: 1
    redirect:
      host: "<redirect-host>"
      path: "/<redirect-path>"
      port: "<redirect-port>"
      protocol: "<redirect-protocol>"
      query: "<redirect-query>"
      statusCode: "<redirect-status-code>"

Could not find anything on this regards in the docs

0

There are 0 answers