Browse Source

give nginx config default max upload size

Christian Winther 1 year ago
parent
commit
af47d91e7d

+ 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;
     index index.html index.htm index.php;
 
 
     charset utf-8;
     charset utf-8;
-    client_max_body_size {{ getenv "POST_MAX_SIZE" }};
+    client_max_body_size {{ getenv "POST_MAX_SIZE" "61M" }};
 
 
     location / {
     location / {
         try_files $uri $uri/ /index.php?$query_string;
         try_files $uri $uri/ /index.php?$query_string;