From 9a6aef8bd2396cd120913f5ae77e693911be135a Mon Sep 17 00:00:00 2001 From: Divyam Date: Wed, 16 Aug 2023 22:23:01 +0530 Subject: [PATCH] nginx remove upload limit --- nginx.conf | 1 + nginx_nossl.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 61c91de..43d7394 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,6 +17,7 @@ server { } location /api { + client_max_body_size 0; proxy_pass http://server:8080; proxy_redirect default; proxy_set_header Host $host; diff --git a/nginx_nossl.conf b/nginx_nossl.conf index f47fb18..106d2ec 100644 --- a/nginx_nossl.conf +++ b/nginx_nossl.conf @@ -1,6 +1,5 @@ server { listen 8000; - location / { proxy_pass http://client:3000; proxy_redirect default; @@ -14,6 +13,7 @@ server { } location /api { + client_max_body_size 0; proxy_pass http://server:8080; proxy_redirect default; proxy_set_header Host $host;