diff --git a/sites/upsun/src/get-started/stacks/nextjs.md b/sites/upsun/src/get-started/stacks/nextjs.md index cb606de6f5..fdb1cb810e 100644 --- a/sites/upsun/src/get-started/stacks/nextjs.md +++ b/sites/upsun/src/get-started/stacks/nextjs.md @@ -203,10 +203,12 @@ applications: npm run build web: commands: - start: npm run start -p $PORT + start: "npx next start -p $PORT" + upstream: + socket_family: tcp locations: "/": - passthru: true + passthru: true routes: "https://{default}/": { type: upstream, upstream: "myapp:http" } "http://{default}/": { type: redirect, to: "https://{default}/" }