The "httpd" Module (v4)
Description
This module allows the server administrator to serve various useful resources over HTTP.
Configuration
To load this module use the following <module>
tag:
<module name="httpd">
<bind>
This module extends the core <bind>
tags with the following listener types:
Name | Description |
---|---|
httpd | Listens for HTTP connections. |
Example Usage
Listens for plaintext HTTP connections on the 127.0.0.1:8080 endpoint:
<bind address="127.0.0.1"
port="8080"
...
type="httpd">
<httpd>
The <httpd>
tag defines settings about how the httpd module should behave. This tag can only be defined once.
Name | Type | Default Value | Description |
---|---|---|---|
timeout | Duration | 10s | The duration to timeout HTTP connections after. |
Example Usage
<httpd timeout="10s">
Special Notes
The following HTTP resource modules can be used in conjunction with this module:
Name | Description |
---|---|
httpd_acl | Allows access to other HTTP resources to be restricted. |
httpd_config | Allows the server configuration to be viewed over HTTP. |
httpd_stats | Provides statistics about the server and the channels and users on it. |