(Plesk for Linux only) Custom environment variables - Here you can see a list of custom environment variables you have set for your application (if any). Click “[specify]” to add or remove environment variables for your application:
If you running Plesk on Linux env then the above option is available else you need to follow the below steps.
You need to use .env
outside the application folder and create a custom script and pass these .env
and send them as arguments when you run the node script. Check this link if it helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.