mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
Merge pull request #24 from YunoHost-Apps/fix_big_uploads
Enable uploads bigger than 1Mb
This commit is contained in:
commit
881adf9457
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ location __PATHTOCHANGE__ {
|
|||
index index.php;
|
||||
try_files $uri $uri/ index.php;
|
||||
|
||||
client_max_body_size 25M;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm-__NAMETOCHANGE__.sock;
|
||||
|
|
Loading…
Add table
Reference in a new issue