Add client-max-body-size directive to nginx https proxy (#1695)

This commit is contained in:
Abhinav Jha 2020-11-11 18:23:48 +05:30 committed by GitHub
parent 5a903a6976
commit a4f652ce70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,7 @@ server {
server {
listen 443 ssl http2;
server_name dev.appsmith.com;
client_max_body_size 10m;
ssl_certificate /etc/certificate/dev.appsmith.com.pem;
ssl_certificate_key /etc/certificate/dev.appsmith.com-key.pem;

View File

@ -68,6 +68,7 @@ server {
server {
listen 443 ssl http2;
server_name dev.appsmith.com;
client_max_body_size 10m;
ssl_certificate /etc/certificate/dev.appsmith.com.pem;
ssl_certificate_key /etc/certificate/dev.appsmith.com-key.pem;

View File

@ -71,6 +71,7 @@ $NGINX_SSL_CMNT server_name $custom_domain ;
$NGINX_SSL_CMNT server {
$NGINX_SSL_CMNT listen 443 ssl;
$NGINX_SSL_CMNT server_name $custom_domain;
$NGINX_SSL_CMNT client_max_body_size 10m;
$NGINX_SSL_CMNT
$NGINX_SSL_CMNT ssl_certificate /etc/letsencrypt/live/$custom_domain/fullchain.pem;
$NGINX_SSL_CMNT ssl_certificate_key /etc/letsencrypt/live/$custom_domain/privkey.pem;