multimodalart HF Staff commited on
Commit
48f99d7
·
verified ·
1 Parent(s): 2ab5ade

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +5 -0
nginx.conf CHANGED
@@ -1,6 +1,11 @@
1
  server {
2
  listen 7860;
3
 
 
 
 
 
 
4
  location / {
5
  proxy_pass http://localhost:4000;
6
  proxy_set_header Host $host;
 
1
  server {
2
  listen 7860;
3
 
4
+ client_max_body_size 1024M; # Allow uploads up to 1GB
5
+ upload_max_filesize 1024M;
6
+ memory_limit 1024M;
7
+ post_max_size 1024M;
8
+
9
  location / {
10
  proxy_pass http://localhost:4000;
11
  proxy_set_header Host $host;