1
0
Fork 0
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:
__cyp 2017-04-17 17:31:13 +02:00 committed by GitHub
commit 881adf9457

View file

@ -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;