Hide

Configure Module

Locate configuration file

The location of the configuration file is dependent on the Linux distribution on which mod_spdy is installed.

On Debian/Ubuntu Linux distributions, the directory will be:

/etc/apache2/mods-available

On CentOS/Fedora, the directory will be:

/etc/httpd/conf.d

The mod_spdy configuration directives should be wrapped inside an IfModule:

<IfModule spdy_module>
....
</IfModule>

Turn the module on and off

Turn OFF mod_spdy

To turn off mod_spdy completely, insert as the top line of spdy.conf:

SpdyEnabled off

Turn ON mod_spdy

To turn mod_spdy ON, insert as the top line of spdy.conf:

SpdyEnabled on

Tune the module

Change the size of the thread pool

To tune the size of the thread pool mod_spdy uses for processing concurrent SPDY streams, use the directive:

SpdyMaxThreadsPerProcess n

where n is the number of threads to use on each child process. Note that if you are using a threaded MPM, this thread pool will be shared by all connections on each process. This directive is valid only at the top level (not within a <VirtualHost> directive).

Change the limit on simultaneous streams

The SPDY protocol allows endpoints to limit the number of simultanoues SPDY streams they are willing to have open at a time on one connection, for example to limit memory consumption. To set the limit used by mod_spdy, use the directive:

SpdyMaxStreamsPerConnection n

where n is the maximum number of SPDY streams (i.e. requests) that can be active at any given time on a single connection. It is recommended to keep this limit reasonably high; the current default value is 100.