-
Notifications
You must be signed in to change notification settings - Fork 583
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
Add ability to specify iisnode settings with a key-value config file #158
Comments
This is the design of the feature. The iisnode@configOverride setting in web.config allows one to specify a file name of a configuration file with overrides of the settings in the
The file name specified in the iisnode@configOverride web.config setting must be present in the same directory as the node.js script that is the entry point of the node.js application. Typically one would have web.config, server.js, and node.config all in the same directory. If the file specified in iisnode@configOverride is missing, settings from web.config remain effective, and no error is generated. If the file specified in iisnode@configOverride is present but has a syntax error, an error is generated. Changes to the file specified in iisnode@configOverride are detected and result in graceful recycling of the application as long as that file name is also specified as one of the files in the iisnode@watchedFiles configuration setting. By default iisnode@watchedFiles includes YAML away! |
Great work! |
Nice :) |
Great work @tjanczuk and @glennblock -- Looking forward to seeing this feature land. Cheers, |
The default name of the YAML config file was changed from node.config to iisnode.yml |
Currently a node developer needs to understand web.config in order to tweak iisnode settings. This feature would allow specifying a simple config file within the iisnode element which would then specify all the iisnode settings.
The format would be a simple key-value store e.g.
nodeCommand : "node.exe mystartup.js"
loggingEnabled : true
debuggingEnabled : true
numberOfProcesses : 4
The config file would be specified in the iisnode element
The text was updated successfully, but these errors were encountered: