Browse Source

Merge pull request #2630 from pixelfed/trwnh-patch-1

increase default upload limit from 1M to 15M
daniel 4 years ago
parent
commit
2d28257054
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/nginx.conf

+ 1 - 0
contrib/nginx.conf

@@ -18,6 +18,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 15M;
 
 
     location / {
     location / {
         try_files $uri $uri/ /index.php?$query_string;
         try_files $uri $uri/ /index.php?$query_string;