[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: nginx: hydra.gnu.org: Use 'proxy_cache_lock' for /nar.
From: |
Ludovic Courtès |
Subject: |
01/01: nginx: hydra.gnu.org: Use 'proxy_cache_lock' for /nar. |
Date: |
Wed, 22 Mar 2017 04:27:12 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit c607eef67d7f06d9c67dc913b0121b6988b1780c
Author: Ludovic Courtès <address@hidden>
Date: Wed Mar 22 09:22:39 2017 +0100
nginx: hydra.gnu.org: Use 'proxy_cache_lock' for /nar.
* hydra/nginx/hydra.gnu.org-locations.conf: Use 'proxy_cache_lock' for /nar.
---
hydra/nginx/hydra.gnu.org-locations.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hydra/nginx/hydra.gnu.org-locations.conf
b/hydra/nginx/hydra.gnu.org-locations.conf
index a79c506..4d14505 100644
--- a/hydra/nginx/hydra.gnu.org-locations.conf
+++ b/hydra/nginx/hydra.gnu.org-locations.conf
@@ -47,6 +47,10 @@ location /nar/ {
proxy_read_timeout 60s;
proxy_send_timeout 60s;
+ # Send only one request at a time for a given URI to the proxied
+ # server.
+ proxy_cache_lock on;
+
# Disable chunked encoding to avoid enormous chunks.
#chunked_transfer_encoding off;