docs/dispatcher/render-errors/Health-Check.md
# Dispatcher - Render Errors
### Health Check Example
[See Documentation](https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Specifying%20a%20Health%20Check%20Page)
~~~ puppet
aem::dispatcher::farm { 'site' :
docroot => '/var/www',
health_check_url => '/path/to/healthcheck',
}
~~~
This definition will create a file *dispatcher.site.any* with the following contents:
~~~
/anothersite {
/clientheaders {
"*"
}
/virtualhosts {
"*"
}
/renders {
/renderer0 {
/hostname "localhost"
/port "4503"
}
}
/filter {
/0 { /type "allow" /glob "*" }
}
/cache {
/docroot "/var/www"
/rules {
/0 { /type "deny" /glob "*" }
}
/invalidate {
/0 { /type "allow" /glob "*" }
}
/allowedClients {
/0 { /type "allow" /glob "*" }
}
}
/health_check { /url "/path/to/healthcheck" }
}
~~~