I can’t change the Node.js version in Nginx Unit.

adiar

New member
Joined
Dec 26, 2025
Messages
1
1766754017586.png
1766754059202.png

I’m confused because when creating a new application (such as Java, Python, or Ruby), there is an option to choose or change the runtime version. However, for Node.js, there is no such option.


I’ve tried several workarounds, including using a bash script and modifying the PATH to point to an NVM-managed Node.js version:
batuah@server:~$ which node
/home/batuah/.nvm/versions/node/v25.1.0/bin/node
But it still doesn’t work—the application returns a 503 error on the web.

Is there any way to solve this?
My role on the server is only as a regular user, not an administrator.
 
Back
Top