|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
proxy_cache_path
Добрый день. Не заводится 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&n
bsp; 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@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|