InspIRCd v2 is coming to the end of its lifetime!

Fixes for security vulnerabilities will be provided until 2020-06-01 but after this date v2 will no longer be maintained.

InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.

InspIRCd v3 installation instructions are available here and a list of breaking changes is available here.

The "httpd" Module

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="m_httpd.so">

<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 Number 0 The number of seconds to timeout HTTP connections after.
Example Usage
<httpd timeout="10">

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.