WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wordpress 3.3 multisite / NginX. I can upload all the plugins I want in ZIP format but I cant upload a zipped theme and it can't be over 2megs in size. I cant find where these moronic rule are located. Is there a way to just use the SFTP? At this point I will take my chances with hackers, but life with ssh alone is just miserable hell. Please give me a hint as to how do i get a theme onto the server in a zip file from my pc. thank you.

user www-data;
worker_processes 4;
error_log  /var/log/nginx/nginx.log info;
pid /var/run/nginx.pid;

events {
    worker_connections 1024;
    # multi_accept on;

http {
    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    server_tokens off;
    include mime.types;
    default_type  application/octet-stream;
    index index.php index.htm index.html redirect.php;

    gzip  on;
    gzip_vary on;
    gzip_proxied any;
    gzip_comp_level 6;
    gzip_buffers 16 8k;
    gzip_http_version 1.1;
    gzip_disable "MSIE [1-6].(?!.*SV1)";
    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    fastcgi_intercept_errors on;
    fastcgi_ignore_client_abort on;
    fastcgi_buffers 8 16k;
    fastcgi_buffer_size 32k;
    fastcgi_read_timeout 120;
    fastcgi_index  index.php;

    limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;

    # Virtual Host Configs
    include /etc/nginx/sites-enabled/*;  
share|improve this question

closed as off topic by anu, Chris_O, EAMann Jul 6 '12 at 21:03

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Server configuration questions are off-topic for this site. – EAMann Jul 6 '12 at 21:03

On your site's configuration file, please put the following code...

client_max_body_size 16M;

Please change the number 16M to any other value that suits your theme size. By default it is 2M (short for 2MB).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.