diff options
| author | Pitu <[email protected]> | 2021-03-14 17:49:15 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-03-14 17:49:15 +0900 |
| commit | 52a91f796e41689a11826556a466b6340d774120 (patch) | |
| tree | fa4cbe03f7da505a8fc8c12a77a15627867c70ed /docker/nginx | |
| parent | Merge branch 'master' of github.com:WeebDev/lolisafe (diff) | |
| download | host.fuwn.me-52a91f796e41689a11826556a466b6340d774120.tar.xz host.fuwn.me-52a91f796e41689a11826556a466b6340d774120.zip | |
chore: update size limit in nginx
Diffstat (limited to 'docker/nginx')
| -rw-r--r-- | docker/nginx/nginx.conf | 4 |
1 files changed, 4 insertions, 0 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/*; |