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: if else



,     ,   http://wiki.opennet.ru/Nginx
 else.
PS: nginx version: nginx/1.0.15

16  2012. 22:48  Denis F. Latypoff
<latypoff@xxxxxxxxx> :
> 17.04.2012, 01:44, "ink08" <ink08@xxxxxxxxxxxxx>:
>> if ($host = 'domain') {
>> return 404;
>> }
>> else {
>> return 403;
>> }
>>
>>     nginx -t  'nginx: [emerg] unknown
>> directive "else"'
>>   ?
>
>   "else"
>
> --
> br, Denis F. Latypoff.
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru



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


 




Copyright © Lexa Software, 1996-2009.