1
0
Fork 0
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:
polytan02 2015-07-01 12:22:49 +01:00
parent 2b16523bd5
commit 9068bc0409

View file

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