Skip to content

Commit 5376784

Browse files
committed
Set use_temp_path=off
Fixes #9
1 parent cd65d5d commit 5376784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ http {
3838
# access_log /var/log/nginx/cache.log pypi_cache buffer=64k flush=1s;
3939

4040
# Cache 50G worth of packages for up to 1 month
41-
proxy_cache_path /var/lib/nginx/pypi levels=1:2 keys_zone=pypi:16m inactive=1M max_size=50G;
41+
proxy_cache_path /var/lib/nginx/pypi levels=1:2 keys_zone=pypi:16m inactive=1M max_size=50G use_temp_path=off;
4242

4343
# Having the same upstream server listed twice allegedly forces nginx to retry
4444
# connections and not fail the request immediately.

0 commit comments

Comments
 (0)