proxy_cache_path

Denis Kot denis.kot gmail.com
21 18:45:31 MSK 2011


 nginx   proxy .

Denis Kot





21  2011. 17:42    <foxr at mail.ru> :
>  .
>   nginx.   proxy_cache_path - unknown directive .
>
> :
> user www www;
>
> worker_processes 8;
>
> error_log /pub/log/nginx/error_log notice;
>
> pid /var/run/nginx.pid;
>
> events {
>  worker_connections 1024;
>  use kqueue;
>  }
>
> http {
>
>  proxy_cache_path /pub/cache levels=1:2 keys_zone=one:50m inactive=30m
> max_size=1024m;
>
>  include mime.types;
>  default_type application/octet-stream;
>  server_names_hash_bucket_size 1024;
>  client_header_timeout 1m;
>  client_body_timeout 1m;
>  send_timeout 1m;
>  keepalive_timeout 1m;
>  sendfile on;
>  client_max_body_size 20m;
>  proxy_connect_timeout 60;
>  proxy_send_timeout 60;
>  proxy_read_timeout 60;
>  proxy_buffer_size 128k;
>  proxy_buffers 64 128k;
>  proxy_busy_buffers_size 128k;
>  proxy_buffering on;
>  large_client_header_buffers 16 32k;
>  gzip on;
>  gzip_static on;
>  gzip_min_length 1000;
>  gzip_proxied any;
>  gzip_types text/plain text/xml application/xml
> application/x-javascript text/javascript text/css text/json;
>  gzip_disable "msie6";
>  gzip_comp_level 6;
>
>
> log_format main '$remote_addr - $remote_user [$time_local] "$request" '
>  '$status $body_bytes_sent "$http_referer" '
>  '"$http_user_agent" "$http_x_forwarded_for"';
> access_log /pub/log/nginx/access_log main;
>
> server {
>  listen 80 default rcvbuf=8k sndbuf=16k;
>  }
>
>  include /usr/local/etc/nginx/vhosts/local;
>  }
>
>  ,     http,     . 
> , ?
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
>


nginx-ru