Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Allow all iisnode settings to be configured via environment variables #220

Closed
glennblock opened this Issue · 1 comment

2 participants

@glennblock

All vars should have an iisnode- prefix, for example IISNODE-ENABLEDEBUGGING. This will make it easy to configure iisnode from the Azure portal.

Here is the order of precedence for how config values will be read

  1. Env vars
  2. iisnode.yml
  3. web.config @gissues:{"order":72.4609375,"status":"notstarted"}
@tjanczuk
Owner

With this change iisnode allows specification of all of its settings using environment variables.

Environment variables must be set in the environment block of the IIS worker process (w3wp.exe) to be effective. Naming of the environment variables follows a pattern of IISNODE_<SettingName>, where <SettingName> corresponds to any of the configuration settings specified in iisnode.yml. String configuration settings are used literally. Integer configuration settings allow values between 0 and LONG_MAX. Boolean configuration settings should be specified as 1 or 0.

This is the order of precedence of configuration settings (with 1 taking precedence over 2, etc.):

  1. iisnode.yml
  2. environment variables
  3. web.config
  4. defaults in iisnode_schema.xml
@tjanczuk tjanczuk closed this in fc9a51f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.