serverless-next.js
serverless-next.js copied to clipboard
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
### Issue Summary When using a Next.js rewrite for a destination inside `public/`, it will not work and instead return the Next.js 404 page. ### Actual behavior Rewriting a source...
### Issue Summary Hello, I am using the following script to deploy a NextJS site to CloudFront. However I came across the following two issues regarding [statically served files under...
# Description This removes usage of the deprecated `.addAlias` method Closes https://github.com/serverless-nextjs/serverless-next.js/issues/2470
Recently AWS added a new way to configure Cloudfront's cache policy, instead of declaring min/max/default TTLs you can create policies (or use predefined ones). With cache policies we can finally...
**Is your feature request related to a problem? Please describe.** Seeing the following message when `npm run cdk diff` and getting different hash keys for `S3ObjectKey`, `LambdaFunctionARN`, `.S3Key` despite no...
I'm trying to add Response headers policy but I don't see anyway I can currently do that in the docs.  Is there anyway to do that atm ? Thanks.
Hi, I'm trying to figure out how to use helmet[Helmet](https://www.npmjs.com/package/helmet) with nextjs serverless component, however I couldn't find any docs relating to this. Any support or advice? The reason for...
### Issue Summary I struggle to pass CDK values into the builder for Next to use them as environment variables. ### Actual behavior Values come across as CDK tokens: ```javascript...
Related to [this issue](https://github.com/serverless-nextjs/serverless-next.js/issues/2464).