mirror of
git://git.savannah.gnu.org/guix/maintenance.git
synced 2023-12-14 03:33:04 +01:00
nginx: mirror: Use HTTP 1.1 to talk to the backend.
This commit is contained in:
parent
443fb6e8d5
commit
ea01e13f18
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,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.
|
||||
|
|
Loading…
Reference in a new issue