summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2018-02-15 17:51:32 +0300
committerRuslan Ermilov <ru@nginx.com>2018-02-15 17:51:32 +0300
commit2437532e7fdb6f8900b05740058342e4d635a2e5 (patch)
treeaecc25c592b4e1941a41c5ae8725a3c6b63b72d8 /auto/modules
parent8a84dd4f322e9bdf7a07c3b51ed76b671d07e161 (diff)
downloadnginx-2437532e7fdb6f8900b05740058342e4d635a2e5.tar.gz
nginx-2437532e7fdb6f8900b05740058342e4d635a2e5.tar.bz2
HTTP/2: push additional request headers (closes #1478).
The Accept-Encoding, Accept-Language, and User-Agent header fields are now copied from the original request to pushed requests.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 26b05bd8b..b9fa3bbea 100644
--- a/auto/modules
+++ b/auto/modules
@@ -420,6 +420,7 @@ if [ $HTTP = YES ]; then
if [ $HTTP_V2 = YES ]; then
have=NGX_HTTP_V2 . auto/have
+ have=NGX_HTTP_HEADERS . auto/have
ngx_module_name=ngx_http_v2_module
ngx_module_incs=src/http/v2