From bed21a930af19840d21f0be7e72cf80f82d23ebb Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Tue, 7 May 2013 22:12:25 +0200 Subject: [PATCH] Ajout : nginx proxy_temp_path . --- etc/nginx/nginx.conf | 1 + etc/sv/nginx/run | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 1ebd203..f676f8e 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -66,6 +66,7 @@ http { open_file_cache_valid 30s; open_log_file_cache max=1000 inactive=20s min_uses=2 valid=1m; proxy_cache_use_stale updating; + proxy_temp_path /run/shm/cache/nginx/proxy_temp 1 2; reset_timedout_connection on; send_timeout 60; # NOTE: if the client stops reading data, free up the stale client connection after this much time. diff --git a/etc/sv/nginx/run b/etc/sv/nginx/run index 3b876fb..038f595 100755 --- a/etc/sv/nginx/run +++ b/etc/sv/nginx/run @@ -11,8 +11,9 @@ install -d -m 770 -o www-data -g www-data \ /run/nginx \ /run/nginx/fastcgi \ /run/shm/cache/nginx \ - /run/shm/cache/nginx/fastcgi \ /run/shm/cache/nginx/client_body \ + /run/shm/cache/nginx/fastcgi \ + /run/shm/cache/nginx/proxy_body \ /run/shm/tmp/nginx exec /usr/sbin/nginx \ -- 2.20.1