How to manage thousands of Next.js applications #12928
Unanswered
kristojorg
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on a project that uses next.js to build an application that is to be deployed for thousands of clients around the US. 99% of these will be hosted and managed by us, not them.
My question is this: how would you all suggest I set up my project to make managing this as simple as possible? Options I've thought of:
https://our-domain.com/client1
andhttps://our-domain.com/client2
. This would have the benefit of only managing one next.js instance, which runs all of the apps. The downside is that the code will have to manage the complexity of having completely different apps at different urls, and deal with things like routing properly. The clients would then point eghttps://app.their-domain.com
tohttps://our-domain.com/client
.Does anyone have other suggestions? It feels like I might be overlooking something here. Is anyone else deploying next.js apps for many clients, and how are you managing it?
Beta Was this translation helpful? Give feedback.
All reactions