File tree Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export AWS_REGION=eu-west-1
4
4
export MOLECULE_IT_AWS_VPC_SUBNET_ID=subnet-6bdd4223
5
5
export BRANCH_NAME=local
6
6
export BUILD_NUMBER=1
7
- export DTAS_VERSION=v1.6.0
7
+ export DTAS_VERSION=v1.6.1
8
8
export MOLECULE_IT_ID=$( echo " $LOGNAME " | sha256sum | cut -c1-6)
9
9
ANSIBLE_VAULT_PASSWORD_FILE=$( expand_path ./.vault_pass.txt)
10
10
export ANSIBLE_VAULT_PASSWORD_FILE
Original file line number Diff line number Diff line change 1
1
server {
2
2
listen {{ adf_app_port }};
3
- client_max_body_size 0;
4
3
5
4
set $allowOriginSite *;
6
5
proxy_pass_request_headers on;
Original file line number Diff line number Diff line change @@ -11,4 +11,9 @@ setup_vhosts: true
11
11
12
12
# Disable when nginx node is behind another reverse proxy (e.g. AWS ELB)
13
13
nginx_set_proxy_headers : true
14
+
14
15
nginx_absolute_redirect : true
16
+
17
+ # Allow 5GB or 20 minutes long max uploads by default
18
+ nginx_max_upload_size : " 5g"
19
+ nginx_max_upload_time : " 20m"
Original file line number Diff line number Diff line change @@ -18,3 +18,11 @@ argument_specs:
18
18
description : Useful when nginx node is behind another reverse proxy (e.g. should be disabled when behind an AWS ELB)
19
19
type : bool
20
20
default : true
21
+ nginx_max_upload_size :
22
+ description : The maximum allowed size of an upload (client request body)
23
+ type : str
24
+ default : 5g
25
+ nginx_max_upload_time :
26
+ description : Timeout of uploads (client requests read timeout)
27
+ type : str
28
+ default : 20m
Original file line number Diff line number Diff line change 1
- client_max_body_size 0;
2
-
3
1
absolute_redirect {{ 'on' if nginx_absolute_redirect else 'off' }};
4
2
5
3
set $allowOriginSite *;
30
28
#ENV_ACCESS_LOG
31
29
32
30
location /share/ {
31
+ client_max_body_size {{ nginx_max_upload_size }};
32
+ client_body_timeout {{ nginx_max_upload_time }};
33
33
proxy_pass http://share_lb;
34
34
include {{ nginx_vhost_path }}/alfresco_proxy_headers.include;
35
35
}
36
36
37
37
location /alfresco/ {
38
+ client_max_body_size {{ nginx_max_upload_size }};
39
+ client_body_timeout {{ nginx_max_upload_time }};
38
40
proxy_pass http://repo_lb;
39
41
include {{ nginx_vhost_path }}/alfresco_proxy_headers.include;
40
42
}
You can’t perform that action at this time.
0 commit comments