-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow all iisnode settings to be configured via environment variables #220
Comments
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.):
|
sorry but i can't find any example on google of how to setup Environment variables for the IIS worker process :( could you please guide me a little? |
@bjrmatos take a look at this sample web.config https://gist.github.com/pbaio/f63918181d8d7f8ee1d2 . It's setting up the virtualDirPath environment variable. |
Also you can specify variables by adding stuff like LOGON_USER to the promoteServerVars option within iisnode settings section. |
thnks @Siafu!! :) |
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
@Gissues:{"order":72.4609375,"status":"notstarted"}
The text was updated successfully, but these errors were encountered: