nginx

Module ngx_http_spdy_module


english
русский

简体中文
עברית
日本語
türkçe

news
about
download
security advisories
documentation
pgp keys
faq
links
books
support
donation

trac
wiki
twitter
nginx.com
Known Bugs
Example Configuration
Directives
     spdy_headers_comp
Embedded Variables

The ngx_http_spdy_module module provides experimental support for SPDY. Currently, draft 2 of SPDY protocol is implemented.

This module is not built by default, it should be enabled with the --with-http_spdy_module configuration parameter.

Known Bugs

The module is experimental, caveat emptor applies.

Current implementation of SPDY protocol does not support “server push”.

Responses in SPDY connections cannot be rate limited.

Example Configuration

server {
    listen 443 ssl spdy;

    ssl_certificate server.crt;
    ssl_certificate_key server.key;
    ...
}

Note that in order to accept both HTTPS and SPDY connections simultaneously on the same port, OpenSSL library used should support “Next Protocol Negotiation” TLS extension, available since OpenSSL version 1.0.1.

Directives

syntax: spdy_headers_comp level;
default:
spdy_headers_comp 0;
context: http, server

Sets a header compression level of a response in a range from 1 (fastest, less compression) to 9 (slowest, best compression). The special value 0 turns off header compression.

Embedded Variables

The ngx_http_spdy_module module supports the following embedded variables:

$spdy
SPDY protocol version for SPDY connections, or an empty string otherwise;
$spdy_request_priority
request priority for SPDY connections, or an empty string otherwise.