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:


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re:
  • From: Aleksandr Sytar <sytar.alex@xxxxxxxxx>
  • Date: Tue, 1 Jun 2010 23:44:50 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=Yhr9bmWqPZ4UnLRzQXhYrFGel8t9jhLZL3/KlYv9Svs=; b=RUz+mnlCy295gqtLdv6DX8EuGebPOVdWS7hjI282oY3yH0+AWrO8mvbGAudh6qoE2r orkPOj9WzQiGEff98+zI/qi7czXs+SEnbB0cH+beCS/oHgxs1SG/Xl13Vn+eBq8Y6FvC mhCTRurhMjHIO/tBYVmkWVAalSm1NuEx3KHWU=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=TtihPEalrEAeEhen392CgORw1VAtOqFO3NWM6Pdni4zfUB/uomgwKMNs80NoQZY414 +c3zQzr4yzteKCTAEsnoGMFtDX44Dl24q3ChyEecQ5ogfPGsdApify0JCExdqWPZ3dcy 8uluGTGMh50yOGKA87Oq3fKBfmgjBNo2sjpGA=
  • In-reply-to: <0d9ddac94422bb0d5117ef67131af6db.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <0d9ddac94422bb0d5117ef67131af6db.NginxMailingListRussian@xxxxxxxxxxxxxxx>

- 

server {
    listen 192.168.1.1;
    server_name _ default; #  -    

    location / {
        root /path/to/__;
    }

}

server {
    listen 192.168.1.1;
    server_name _;

    location / {
         ...
    }

....
}


1  2010 . 23:03  plisket <nginx-forum@xxxxxxxx> :
>     ,    ,   
> ,      ,     
>   - - -,    
>  ,   ,    .. 
>       :
> server
>    { listen 192.168.1.1;
>    server_name asdf "" 192.168.1.1;
>      charset     utf-8;
>      source_charset utf-8;
>
>    location / {
>      root /nginx/;
>      index index.html;
>        }
> }
>
>
>  server {
>    listen    192.168.1.1;
>    server_name domain.ru www.domain.ru;
>
>    #charset koi8-r;
>
>    #access_log logs/host.access.log main;
>
>    location / {
>      root  /usr/share/nginx/html;
>      index index.html index.htm;
>            }
>         }
>
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,93259,93259#msg-93259
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru
>



-- 
Have a nice day
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

  • References:
      • From: plisket

 




Copyright © Lexa Software, 1996-2009.