diff --git a/deploy/ansible/appsmith_playbook/roles/generate_template/templates/nginx-app.conf.j2 b/deploy/ansible/appsmith_playbook/roles/generate_template/templates/nginx-app.conf.j2 index 3ae1f20490..c46d49e702 100644 --- a/deploy/ansible/appsmith_playbook/roles/generate_template/templates/nginx-app.conf.j2 +++ b/deploy/ansible/appsmith_playbook/roles/generate_template/templates/nginx-app.conf.j2 @@ -2,7 +2,7 @@ server { listen 80; server_name {{ custom_domain }}; - client_max_body_size 10m; + client_max_body_size 100m; gzip on; @@ -50,12 +50,12 @@ location /oauth2 { proxy_pass http://appsmith-internal-server:8080; } - + location /login { proxy_pass http://appsmith-internal-server:8080; } } - + {{ ssl_cmt }} server { {{ ssl_cmt }} listen 443 ssl; {{ ssl_cmt }} server_name {{ custom_domain }}; diff --git a/deploy/heroku/default.conf.template b/deploy/heroku/default.conf.template index 9ca8c9b1ee..8362ccc505 100644 --- a/deploy/heroku/default.conf.template +++ b/deploy/heroku/default.conf.template @@ -2,7 +2,7 @@ server { listen $PORT default_server; - client_max_body_size 10m; + client_max_body_size 100m; gzip on; diff --git a/deploy/k8s/scripts/nginx-configmap.yaml b/deploy/k8s/scripts/nginx-configmap.yaml index af00648e7b..b2fbc721bf 100644 --- a/deploy/k8s/scripts/nginx-configmap.yaml +++ b/deploy/k8s/scripts/nginx-configmap.yaml @@ -6,7 +6,7 @@ data: nginx.conf.template: " server { listen 80; - client_max_body_size 10m; + client_max_body_size 100m; gzip on; @@ -37,8 +37,8 @@ data: sub_filter __APPSMITH_MAIL_ENABLED__ '${APPSMITH_MAIL_ENABLED}'; sub_filter __APPSMITH_DISABLE_TELEMETRY__ '${APPSMITH_DISABLE_TELEMETRY}'; } - + location /f { proxy_pass https://cdn.optimizely.com/; } -}" \ No newline at end of file +}" diff --git a/deploy/template/nginx_app.conf.sh b/deploy/template/nginx_app.conf.sh index 64ffef3b79..cb0a0928b4 100644 --- a/deploy/template/nginx_app.conf.sh +++ b/deploy/template/nginx_app.conf.sh @@ -14,7 +14,7 @@ cat <