nginx remove upload limit

This commit is contained in:
Divyam 2023-08-16 22:23:01 +05:30
parent c3d631b84a
commit 9a6aef8bd2
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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;