Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
warn в логе
Здравстуйте,
При попытке залить на сайт фотку 3,5М получаю в лог запись:
[warn] 28646#0: *8669385 a client request body is buffered to a temporary file
/usr/local/nginx/client_body_temp/0/00/0000000000
Пробывал поигратся с client_max_body_size ни чего не изменилось.
Подскажите в чем ошибка:
#
user apache apache;
worker_processes 2;
error_log logs/error.log notice;
pid /var/run/httpd/nginx.pid;
events {
worker_connections 1024;
use epoll;
}
http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "http_x_forwarded_for" "$gzip_ratio"';
#access_log logs/access.log main;
access_log off;
gzip on;
gzip_min_length 1100;
gzip_buffers 4 8k;
gzip_types text/plain;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
proxy_temp_path /usr/local/nginx/proxy_temp;
client_body_temp_path /usr/local/nginx/client_body_temp 1 2;
client_header_buffer_size 4k;
large_client_header_buffers 16 8k;
server {
listen 80;
server_name www.domen.lv;
access_log off;
# Main location
location / {
proxy_pass http://www.domen.lv:8080/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 15m;
client_body_buffer_size 256k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 512k;
proxy_temp_file_write_size 512k;
}
# Static files location
location ~* ^.+\.(jpg|jpeg|gif|css|png|js|swf)$ {
root /www/www.domen.lv/;
access_log off;
expires 30d;
}
}
}
--
Best regards,
Dmitrijs mailto:dimad@xxxxxxxxx
|