Wordpress 3.3多站点/NginX。我可以上传所有我想要的ZIP格式的插件,但我不能上传一个压缩的主题,而且它的大小不能超过2兆克。我找不到这些愚蠢的规则在哪里。有没有办法只使用SFTP?在这一点上,我将与黑客们碰碰运气,但只有ssh的生活简直是悲惨的地狱。请给我一个提示,告诉我如何从我的电脑中以zip文件的形式将主题发送到服务器上。谢谢。
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
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
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/*;