Re: свои headers для nginx

Alex Kamedov kamedov at gmail.com
Wed Jul 18 11:07:45 MSD 2007


а если посылается хидер icu-name, то как будет выглядить в таком случае
соответствующая ему переменная? $upstream_http_icu_name ?

2007/7/18, Roxis <roxis at list.ru>:
>
> On Tuesday 17 July 2007, deniswork at uzvik.kiev.ua wrote:
> > Спасибо, подскажите почему  не работает такое:
> >
> > <?
> > header("Referer: 777");
> > header("Content-Disposition: attachment; filename=\"test.txt\"");
> > header("X-Accel-Redirect: /zl/file");
> > ?>
> >
> > ....
> > server {
> >         if ($http_referer ~ 'test') {
> >                 set   $fslow  1;
> >         }
>
> $upstream_http_вместо $http_
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070718/968743be/attachment.html>


More information about the nginx-ru mailing list