Skip to main content

Driver Configuration

OptionTypeRequiredDefault ValueDescription
enabledboolnotrueEnables/Disables the Nomad IIS Plugin
fingerprint_intervalstringno30sDefines the interval how often the plugin should report the driver's fingerprint to Nomad. The smallest possible value is 10s.
directory_securityboolnotrueEnables Directory Permission Management for Filesystem Isolation.
allowed_target_websitesstring[]nononeA list of IIS websites which are allowed to be used as target_website. An asterisk (*) may be used as a wildcard to allow any website.
udp_logger_portnumberno0The local UDP port where the driver is listening for log-events which will be shipped to the Nomad client. The value 0 will disable this feature. Please read the details here.
placeholder_app_pathstringnoC:\inetpub\wwwrootSpecifies the path to an optional placeholder app. The files of this folder will be copied into the allocation directory when the application path, specified in the job spec, is empty. This may be usefull to show some kind of maintenance-page until the real app is pushed using the management API. By default the blue default IIS page will be copied and you can set this to null to not copy anything.
procdumpblock listnononeDefines settings for procdump. See procdump schema below for details. Only available when using the nomad_iis.exe including the Management API.

procdump Block Configuration​

OptionTypeRequiredDefault ValueDescription
binary_pathstringnoC:\procdump.exeConfigures the path to procdump.exe.
accept_eulaboolnofalseIf you want to use procdump you need to accept it's EULA.

Example

plugin "nomad_iis" {
#args = ["--port=1234"] # Optional. To change the static port. The default is 5003.
#args = ["--port=0"] # Optional. To use a random port
config {
enabled = true,
fingerprint_interval = "30s",
directory_security = true
allowed_target_websites = [ "Default Web Site" ]

# Only available when using the nomad_iis binary with Management API
procdump {
binary_path = "C:\\procdump.exe"
accept_eula = true
}
}
}