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

Fix cache key size and log into docker

parent 0d39fb40
No related branches found
No related tags found
1 merge request!3Fix cache key size and log into docker
......@@ -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