[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: nginx: hydra.gnu.org: Use HTTP 1.1 to talk to the backend.
From: |
Ludovic Courtès |
Subject: |
03/04: nginx: hydra.gnu.org: Use HTTP 1.1 to talk to the backend. |
Date: |
Thu, 24 Mar 2016 10:33:52 +0000 |
civodul pushed a commit to branch master
in repository maintenance.
commit 6b14dc88b57290f8b25e1bce23c41e1b6077f7d6
Author: Ludovic Courtès <address@hidden>
Date: Thu Mar 24 11:27:01 2016 +0100
nginx: hydra.gnu.org: Use HTTP 1.1 to talk to the backend.
---
hydra/nginx/hydra.gnu.org.conf | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/hydra/nginx/hydra.gnu.org.conf b/hydra/nginx/hydra.gnu.org.conf
index fc0111d..f496edd 100644
--- a/hydra/nginx/hydra.gnu.org.conf
+++ b/hydra/nginx/hydra.gnu.org.conf
@@ -34,6 +34,11 @@ http {
keepalive_timeout 65;
+ # Use HTTP 1.1 to talk to the backend so we benefit from
+ # keep-alive connections and chunked transfer encoding. The
+ # latter allows us to make sure we do not cache partial downloads.
+ proxy_http_version 1.1;
+
# The 'inactive' parameter for caching is not very useful in our
# case: all that matters is that LRU sweeping happens when
# 'max_size' is hit.