Skip to content

Make OriginReadTimeout configurable for custom origins #28

@Harriebo

Description

@Harriebo

We use the custom origins to map the old api while moving to NextJs which contain some old endoints which need a higher timeout, at this moment we cant use the serverless config to set this since its hardcoded to 30.

OriginReadTimeout: 30,

for example:

    cloudfront:
      origins:
        - url: https://url/
          originReadTimeout: 60
          pathPatterns:
            /old-api/*:
              allowedHttpMethods: [GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions