Re: исключить проксированный запрос из лог-файла

Алексей Бобок alexey.bobok at gmail.com
Tue Apr 28 10:28:08 MSD 2009


Так есть мысли почему так?


> http {
>    geo  $fromfe  {
>         default          no;
>         192.168.231.231/32   fe0;
>    }
> server {
>    if ($fromfe) {
>        access_log  logs/proxied.log;
>    }
> ......
> }
>
> выдает при запуске
>
> 2009/04/19 05:49:42 [emerg] 3310#0: "access_log" directive is not
> allowed here in /usr/local/etc/nginx/nginx.conf:59

-- 

--
Best regards, Alexey Bobok





More information about the nginx-ru mailing list