فهرست منبع

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;