I understand I can use web.config.
<iisnode
node_env="production"
/>
to specify one environmental node_env
variable which could be accessed in server side *.js files via process.env.node_env
.
However, for example I would like to have access to another environmental variable like
process.env.GLOBAL_PREFIX
. Similar scenarios like access to AWS credentials.
When I tried
<iisnode
node_env="production"
GLOBAL_PREFIX="somevalue"
/>
, I could not get application running due to unrecognized web.config file.