mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Import databases bigger than 2M in standard
This fix would let us import bigger database while restoring a backup for example. We could put bigger value, but this is already a nice step forward without compromising security, I guess.
This commit is contained in:
parent
2b16523bd5
commit
9068bc0409
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ location YNH_WWW_PATH {
|
||||||
}
|
}
|
||||||
index index.php;
|
index index.php;
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
|
client_max_body_size 50M;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||||
|
|
Loading…
Reference in a new issue