aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/nginx/nginx.conf4
-rw-r--r--docs/nginx.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf
index a878b9b..06ec5f3 100644
--- a/docker/nginx/nginx.conf
+++ b/docker/nginx/nginx.conf
@@ -48,6 +48,10 @@ http {
resolver 1.1.1.1 1.0.0.1 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 valid=60s;
resolver_timeout 2s;
+ # Upload size limit
+ client_max_body_size 100M;
+ client_body_timeout 600s;
+
# Load configs
include /etc/nginx/conf.d/*.conf;
# include /etc/nginx/sites-enabled/*;
diff --git a/docs/nginx.md b/docs/nginx.md
index bdf1112..5a0b5de 100644
--- a/docs/nginx.md
+++ b/docs/nginx.md
@@ -47,7 +47,7 @@ server {
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
- client_max_body_size 90M;
+ client_max_body_size 100M;
client_body_timeout 600s;
location / {