Spaces:
Runtime error
Runtime error
Create nginx.conf
Browse files- nginx.conf +5 -0
nginx.conf
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# nginx.conf (脌 mettre 脿 la racine du repo Hugging Face, 脿 c么t茅 de Dockerfile)
|
| 2 |
+
client_max_body_size 4G; # Autorise upload 2 Go
|
| 3 |
+
proxy_request_buffering off; # Stream direct vers ton app (pas de buffer disque proxy)
|
| 4 |
+
proxy_read_timeout 3600s; # Timeout 1h pour gros uploads lents
|
| 5 |
+
proxy_send_timeout 3600s;
|