diff --git a/nginx.vh.default.template.conf b/nginx.vh.default.template.conf index 16ee1c0b767171d13d003dbd54bd9ac652e1efdf..20da03f0fe87331be1f8c1c78e4545dd0ca79a50 100644 --- a/nginx.vh.default.template.conf +++ b/nginx.vh.default.template.conf @@ -22,8 +22,8 @@ server { #charset koi8-r; - access_log /var/log/nginx/access.log my_log_format; - error_log /var/log/nginx/error.log; + access_log /dev/stdout my_log_format; + error_log /dev/stderr; location /_search { if ($http_x_consumer_username = '') { @@ -69,6 +69,7 @@ server { # cache ------------------------------------------ proxy_cache elasticsearch; + proxy_buffer_size 8192; proxy_cache_valid 200 302 1m; proxy_cache_valid 404 1m; proxy_cache_background_update on;