This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1517 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit f033ddaea20838ec9df4646b97a13f15db8f2060 Author: leonidfrolov <[email protected]> AuthorDate: Fri Feb 21 16:08:47 2020 +0200 DLAB-1517 changed max allowed http request size --- infrastructure-provisioning/src/project/templates/conf.d/proxy.conf | 2 ++ infrastructure-provisioning/src/project/templates/nginx.conf | 1 + 2 files changed, 3 insertions(+) diff --git a/infrastructure-provisioning/src/project/templates/conf.d/proxy.conf b/infrastructure-provisioning/src/project/templates/conf.d/proxy.conf index a58147f..8ff621a 100644 --- a/infrastructure-provisioning/src/project/templates/conf.d/proxy.conf +++ b/infrastructure-provisioning/src/project/templates/conf.d/proxy.conf @@ -20,6 +20,7 @@ # ****************************************************************************** server { listen 80; + client_max_body_size 10M; server_name EDGE_IP; include locations/*.conf; rewrite ^/(.*)$ https://$server_name/$1 permanent; @@ -28,6 +29,7 @@ server { server { listen 443 ssl; server_name EDGE_IP; + client_max_body_size 10M; if ($host != $server_name) { rewrite ^/(.*)$ https://$server_name/$1 redirect; } diff --git a/infrastructure-provisioning/src/project/templates/nginx.conf b/infrastructure-provisioning/src/project/templates/nginx.conf index d012375..0869026 100644 --- a/infrastructure-provisioning/src/project/templates/nginx.conf +++ b/infrastructure-provisioning/src/project/templates/nginx.conf @@ -49,6 +49,7 @@ http { client_max_body_size 50M; resolver 8.8.8.8; resolver_timeout 10s; + client_max_body_size 10M; include /etc/nginx/mime.types; default_type application/octet-stream; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
