Browse Source

Fix upload limit in wordpress

pull/1/head
mbugeia 12 years ago
parent
commit
6271b64c37
  1. 1
      conf/nginx.conf
  2. 1
      conf/nginx.conf-public

1
conf/nginx.conf

@ -8,6 +8,7 @@ location PATHTOCHANGE {
{
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
}
client_max_body_size 30m;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;

1
conf/nginx.conf-public

@ -5,6 +5,7 @@ location PATHTOCHANGE {
{
rewrite ^(.+)$ PATHTOCHANGE/index.php?q=$1 last;
}
client_max_body_size 30m;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;

Loading…
Cancel
Save