Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD & nginx



2010/11/23 KaMaToZzz <nginx-forum@xxxxxxxx>:
>    nginx:
>
>
> [code]
> fun# /usr/local/etc/rc.d/nginx start
> Performing sanity check on nginx configuration:
> [emerg]: "if" directive is not allowed here in
> /usr/local/etc/nginx/sites-enabled/www:13
> configuration file /usr/local/etc/nginx/nginx.conf test failed
> Starting nginx.
> [emerg]: "if" directive is not allowed here in
> /usr/local/etc/nginx/sites-enabled/www:13
> /usr/local/etc/rc.d/nginx: WARNING: failed to start nginx
> [/code]
>

http://sysoev.ru/nginx/docs/http/ngx_http_rewrite_module.html#if
syntax: if () { ... }
default: 
context: server, location

 ,  if      server  location.
      http.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.