bundles/grafana: increase proxy_read_timeout for /api/ds/query
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-08-07 20:02:57 +02:00
parent ea7a8236ce
commit d9d98116e6
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 0 deletions

View file

@ -44,6 +44,10 @@ def nginx(metadata):
'/': {
'target': 'http://127.0.0.1:21010',
},
'/api/ds/query': {
'target': 'http://127.0.0.1:21010',
'proxy_read_timeout': 300,
},
},
'website_check_path': '/login',
'website_check_string': 'Grafana',

View file

@ -107,6 +107,7 @@ server {
proxy_set_header X-Script-Name ${location};
% endif
proxy_buffering off;
proxy_read_timeout ${options.get('proxy_read_timeout', 60)};
client_max_body_size ${options.get('max_body_size', '5M')};
% elif 'redirect' in options:
return ${options.get('mode', 302)} ${options['redirect']};