Re: свои headers для nginx

Alex Kamedov kamedov at gmail.com
Wed Jul 18 13:53:10 MSD 2007


18.07.07, Igor Sysoev <is at rambler-co.ru> написал(а):
>
>
> Эта переменная доступна с момента получения заголовка от бэкенда.
>


Делаю примерно следующее, но icu-name клиенту приходит пустой.
Подскажите что не так.

<?
header('icy-name: test - test');
header('X-Accel-Redirect: /xxx/yyy');
?>

...
location /xxx/ {
   internal;
   add_header icu-name $upstream_http_icu_name;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070718/7ca4ca6d/attachment.html>


More information about the nginx-ru mailing list