Commit 017aaf65 authored by rjshrjndrn's avatar rjshrjndrn
Browse files

Issue #000 feat: keepalive timeout for blob upstreams

Showing with 3 additions and 1 deletion
+3 -1
......@@ -260,6 +260,7 @@ server {
set $bucket "{{upstream_url}}";
set $url_full '$1';
keepalive_timeout 75s;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host "{{upstream_url.split('/')[0]|lower}}";
......@@ -297,6 +298,7 @@ server {
set $url_full '$1';
proxy_http_version 1.1;
keepalive_timeout 75s;
proxy_set_header Connection "";
proxy_set_header Host "{{plugin_upstream_url.split('/')[0]|lower}}";
proxy_set_header Authorization '';
......@@ -311,7 +313,6 @@ server {
add_header Access-Control-Allow-Origin "*" ;
add_header Access-Control-Allow-Methods GET;
proxy_pass http://content-blob/{{plugin_container_name}}/v3/preview/$url_full;
keepalive_timeout 75s;
}
location ~* ^/content-plugins/(.*) {
......@@ -338,6 +339,7 @@ location ~* ^/content-plugins/(.*) {
set $url_full '$1';
proxy_http_version 1.1;
keepalive_timeout 75s;
proxy_set_header Connection "";
proxy_set_header Host "{{plugin_upstream_url.split('/')[0]|lower}}";
proxy_set_header Authorization '';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment