How to start an https server when we build the app in standalone mode? #63659
-
|
I understand that https server feature is only available in development mode. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
standalone mode outputs a minimal server.js file that is used to launch the next.js service. See the example Dockerfile below. Start server.js with node.js or pm2 |
Beta Was this translation helpful? Give feedback.
-
|
@SouthLink is there no way to do this without nginx/Docker? If I have a and I run |
Beta Was this translation helpful? Give feedback.
-
|
Hi @SouthLink , if i use ALB in AWS and if i configure my node.js application in standalone mode. I also have a dockerfile. But now how to start my application with https protocol ? |
Beta Was this translation helpful? Give feedback.
I understand that this should have nothing to do with standalone mode, you should need nginx to do this