Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make OriginReadTimeout configurable for custom origins #28

Open
Harriebo opened this issue May 3, 2021 · 1 comment
Open

Make OriginReadTimeout configurable for custom origins #28

Harriebo opened this issue May 3, 2021 · 1 comment

Comments

@Harriebo
Copy link

Harriebo commented May 3, 2021

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]
@Harriebo
Copy link
Author

Harriebo commented May 5, 2021

At this point this feature is blocking for us, if this is not resolved we will have to move away from the serverless component for our nextJs migration. Since it resets all manual changes every deploy, it will break our rolling deploy system and thus become unusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant