Custom Server
Answered
Scottish Fold posted this in #help-forum
Scottish FoldOP
Hello there,
Am I able to use a Custom Server (Express/Fastify/HTTP) with Next.js production app router? I have a secondary application I need to host on a subroute that is unrelated to Next.js.
I only see an option for it in the docs for Pages router/
Am I able to use a Custom Server (Express/Fastify/HTTP) with Next.js production app router? I have a secondary application I need to host on a subroute that is unrelated to Next.js.
I only see an option for it in the docs for Pages router/
6 Replies
@Scottish Fold Hello there,
Am I able to use a Custom Server (Express/Fastify/HTTP) with Next.js production **app router**? I have a secondary application I need to host on a subroute that is unrelated to Next.js.
I only see an option for it in the docs for Pages router/
yes, just setup the custom server like the way in page router
Answer
Scottish FoldOP
Okay, thank you - let me try that
Am I able to do it with the
http module rather than Express?Scottish FoldOP
Okay