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
a5cee250
Commit
a5cee250
authored
5 years ago
by
rjshrjndrn
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: keepalive timeout for blob upstreams
parent
57d2b7a8
sunbird-monitoring-release-3.5.0_RC1
sunbird-monitoring-release-3.3.0_RC1
sunbird-monitoring-release-2.6.0
sunbird-monitoring-release-2.6.0_RC6
sunbird-monitoring-release-2.6.0_RC5
sunbird-monitoring-release-2.6.0_RC4
sunbird-monitoring-release-2.6.0_RC3
sunbird-monitoring-release-2.6.0_RC2
sunbird-monitoring-release-2.6.0_RC1
sunbird-monitoring-release-2.5.0_484f884
sunbird-monitoring-release-2.5.0
sunbird-monitoring-release-2.5.0_RC3
sunbird-monitoring-release-2.5.0_RC2
sunbird-monitoring-release-2.5.0_RC1
sunbird-monitoring-release-2.3.0_9009005
sunbird-monitoring-release-2.3.0
sunbird-monitoring-release-2.3.0_RC4
sunbird-monitoring-release-2.3.0_RC3
sunbird-monitoring-release-2.3.0_RC2
sunbird-monitoring-release-2.3.0_RC1
sunbird-monitoring-release-2.2.0_RC1
secor-lag
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 @
a5cee250
...
...
@@ -277,6 +277,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}}"
;
...
...
@@ -314,6 +315,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
''
;
...
...
@@ -328,7 +330,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
/(.*) {
...
...
@@ -355,6 +356,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