Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering NGINX

You're reading from   Mastering NGINX Personalize, customize and configure NGINX to meet the needs of your server

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher
ISBN-13 9781782173311
Length 320 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Dimitri Aivaliotis Dimitri Aivaliotis
Author Profile Icon Dimitri Aivaliotis
Dimitri Aivaliotis
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Installing NGINX and Third-Party Modules 2. A Configuration Guide FREE CHAPTER 3. Using the mail Module 4. NGINX as a Reverse Proxy 5. Reverse Proxy Advanced Topics 6. The NGINX HTTP Server 7. NGINX for the Application Developer 8. Integrating Lua with NGINX 9. Troubleshooting Techniques A. Directive Reference
B. The Rewrite Rule Guide C. The NGINX Community D. Persisting Solaris Network Tunings
Index

SPDY and HTTP/2


The SPDY protocol was developed by Google to accelerate the web browsing experience. There are currently four drafts; the final one supported in NGINX labeled Draft 3.1. NGINX supported this draft as of version 1.5.10.

The protocol developers also had a hand in the ratification of HTTP/2. SPDY has since been deprecated; all support for it will end in 2016. It is superseded by HTTP version 2 (HTTP/2), which NGINX has supported since version 1.9.5.

Support for HTTP/2 can be activated by including the compile-time flag, --with-http_v2_module. This will make the following directives available for configuration:

HTTP/2 directives

Explanation

http2_chunk_size

This directive sets the maximum chunk size for the response body.

http2_idle_timeout

This directive specifies the amount of time with no activity after which the connection is closed.

http2_max_concurrent_streams

This directive sets the number of HTTP/2 streams that may be active in a single connection.

http2_max_field_size...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image