Skip to content
Discussion options

You must be logged in to vote

Hey everyone – we have just published new documentation on self-hosting, including how to configure a custom cache handler for use with ISR / Data Cache in both the Pages and App Router. These docs go in depth about how other features like Image Optimization, Middleware, Environment Variables, Build Caching, and more work when self-hosted. There's also updated Docker based examples.

Specific to this discussion, we have provided guidance on how to use runtime environment variables.

https://nextjs.org/docs/app/building-your-application/deploying

Replies: 7 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@schminkel
Comment options

@DominicWrege
Comment options

@schminkel
Comment options

@djpiper28
Comment options

@HofmannZ
Comment options

Comment options

You must be logged in to vote
1 reply
@FSeidinger-XI
Comment options

Comment options

You must be logged in to vote
1 reply
@FSeidinger-XI
Comment options

Answer selected by leerob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
Converted from issue

This discussion was converted from issue #36326 on April 21, 2022 08:53.