Skip to content
Snippets Groups Projects
Commit bb1019ab authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA
Browse files

Merge branch 'patch-1' into 'master'

Fix cache key size and log into docker

See merge request !3
parents 0d39fb40 2b9474b1
No related branches found
No related tags found
1 merge request!3Fix cache key size and log into docker
Pipeline #12997 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment