From 2b9474b18e79b9bb1f2f941b1983c2a5c9489870 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20DA=20ROCHA?= <sdarocha@neogeo.fr>
Date: Wed, 31 Mar 2021 15:21:48 +0200
Subject: [PATCH] Fix cache key size and log into docker

---
 nginx.vh.default.template.conf | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nginx.vh.default.template.conf b/nginx.vh.default.template.conf
index 16ee1c0..20da03f 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;
-- 
GitLab