Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
017aaf65
Commit
017aaf65
authored
5 years ago
by
rjshrjndrn
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: keepalive timeout for blob upstreams
parent
ece49fdc
sunbird-monitoring-release-2.2.0
sunbird-monitoring-release-2.2.0_aa4568b
sunbird-monitoring-release-2.1.0
sunbird-monitoring-release-2.1.0_RC1
monitoring-fixes
loadtest
fixed-monitoring
before-categorisation
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-proxy/templates/proxy-default.conf
+3
-1
ansible/roles/stack-proxy/templates/proxy-default.conf
with
3 additions
and
1 deletion
+3
-1
ansible/roles/stack-proxy/templates/proxy-default.conf
+
3
−
1
View file @
017aaf65
...
...
@@ -260,6 +260,7 @@ server {
set
$
bucket
"{{upstream_url}}"
;
set
$
url_full
'$1'
;
keepalive_timeout
75
s
;
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
75
s
;
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
75
s
;
}
location
~* ^/
content
-
plugins
/(.*) {
...
...
@@ -338,6 +339,7 @@ location ~* ^/content-plugins/(.*) {
set
$
url_full
'$1'
;
proxy_http_version
1
.
1
;
keepalive_timeout
75
s
;
proxy_set_header
Connection
""
;
proxy_set_header
Host
"{{plugin_upstream_url.split('/')[0]|lower}}"
;
proxy_set_header
Authorization
''
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets