浏览代码

give nginx config default max upload size

Christian Winther 1 年之前
父节点
当前提交
af47d91e7d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docker/nginx/root/docker/templates/etc/nginx/conf.d/default.conf

+ 1 - 1
docker/nginx/root/docker/templates/etc/nginx/conf.d/default.conf

@@ -14,7 +14,7 @@ server {
     index index.html index.htm index.php;
 
     charset utf-8;
-    client_max_body_size {{ getenv "POST_MAX_SIZE" }};
+    client_max_body_size {{ getenv "POST_MAX_SIZE" "61M" }};
 
     location / {
         try_files $uri $uri/ /index.php?$query_string;