Help как получить список кук

Что делаю не так?
Дайте пример конфигурации nginx с проксированием кук в заголовках.
Необходимо проксировать все куки. Не могу получить список кук в nginx(не
статика). По возможности включите в конфиг кеширование. Путаюсь,
спасибо.

worker_processes 4;

error_log /etc/nginx/error.log info;
events {
worker_connections 4096;
}

http {
include mime.types;
default_type application/octet-stream;

 client_header_timeout 3m;
 client_body_timeout 3m;
 send_timeout 3m;
 client_header_buffer_size 1k;
 large_client_header_buffers 4 4k;
 gzip on;
 gzip_min_length 1100;
 gzip_buffers 4 8k;
 gzip_types text/plain;
 output_buffers 1 32k;
 postpone_output 1460;
 sendfile on;
 tcp_nopush on;
 tcp_nodelay on;
 keepalive_timeout 75 20;

 #proxy_cache_path /var/lib/nginx/cache levels=1:2

keys_zone=cache:30m max_size=1G;
#proxy_temp_path /var/lib/nginx/proxy 1 2;
#proxy_ignore_headers Expires Cache-Control;
#proxy_cache_use_stale error timeout invalid_header http_502;
#proxy_cache_bypass $cookie_session;
#proxy_no_cache $cookie_session;

 #keepalive_timeout  65;

 #limit_zone   by_vhost  $binary_remote_addr  10m;
 #limit_conn   by_vhost 50;

server {
listen 80;
server_name 127.0.0.1 www.127.0.0.1.com;

 #proxy_cache_key

“$request_method|$http_if_modified_since|$http_if_none_match|$host|$request_uri|$cookie_PHPSESSID|$cookie_JSSESSID”;

 #proxy_cache_valid 200 301 302 304 5m;
 #proxy_hide_header "Set-Cookie";
 #proxy_ignore_headers "Cache-Control" "Expires";

 location / {

     rewrite ^/blog/(.*)$ /blog.php?pic=$1 last;

     root   /var/www/html/cat;
     index  index.php index.html index.htm;

 }

 # proxy the PHP scripts to Apache listening on 127.0.0.1:80
 #
 location ~ \.php$ {

     rewrite ^/blog/(.*)$ /blog.php?pic=$1 last;
     proxy_set_header Host $host;
     proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

     expires max;

add_header Cache-Control "public, must-revalidate,

proxy-revalidate";

proxy_pass_header Set-Cookie;

proxy_set_header Cookie $http_cookie;

     proxy_pass   http://127.0.0.1.com:8080;
     proxy_redirect default;

proxy_cache cache;

     client_max_body_size 10m;
     client_body_buffer_size 128k;
     client_body_temp_path /home/client_body_temp;
     proxy_connect_timeout 90;
     proxy_send_timeout 90;
     proxy_read_timeout 90;
     proxy_buffers 4 32k;
     proxy_busy_buffers_size 64k;
     proxy_temp_file_write_size 64k;
     proxy_temp_path /home/proxy_temp;

 }

}

}

Hello!

On Mon, May 19, 2014 at 07:37:03AM +0400, Demetr wrote:

?

First of all, you are using wrong list. This one is English,
please don’t try to ask questions in Russian here. If you want to
write in Russian, please use nginx-ru@ mailing list. See here for
details:

http://nginx.org/ru/support.html


Maxim D.
http://nginx.org/