mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Fix upload limit in wordpress
This commit is contained in:
parent
62952302d3
commit
6271b64c37
2 changed files with 5 additions and 3 deletions
|
@ -8,6 +8,7 @@ location PATHTOCHANGE {
|
||||||
{
|
{
|
||||||
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
|
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
|
||||||
}
|
}
|
||||||
|
client_max_body_size 30m;
|
||||||
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;
|
||||||
|
|
|
@ -5,6 +5,7 @@ location PATHTOCHANGE {
|
||||||
{
|
{
|
||||||
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
|
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
|
||||||
}
|
}
|
||||||
|
client_max_body_size 30m;
|
||||||
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…
Add table
Reference in a new issue