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: 21 comments 26 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
4 replies
@trevorr
Comment options

@kieranbenton
Comment options

@Fluder-Paradyne
Comment options

@marc0olo
Comment options

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
6 replies
@logikaljay
Comment options

@mlarcher
Comment options

@mlarcher
Comment options

@logikaljay
Comment options

@fieldju
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mauron85
Comment options

@kachar
Comment options

@Fluder-Paradyne
Comment options

Comment options

You must be logged in to vote
1 reply
@dmytrolesyk
Comment options

Comment options

You must be logged in to vote
6 replies
@ianldgs
Comment options

@tballast
Comment options

@ianldgs
Comment options

@nictownsend
Comment options

@ianldgs
Comment options

Comment options

You must be logged in to vote
1 reply
@logikaljay
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@francoisjacques
Comment options

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
1 reply
@orgads
Comment options

Comment options

You must be logged in to vote
3 replies
@Starefossen
Comment options

@leerob
Comment options

@leerob
Comment options

Answer selected by leerob
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
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 #34887 on February 28, 2022 19:09.