Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Несколько locations
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Несколько locations
- From: Daniel Podolsky <onokonem@xxxxxxxxx>
- Date: Thu, 29 Jul 2010 20:36:43 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1QwHR9nDaNBjrxd6MvE+8mkUPM6w5AonYAJaGNwHqgw=; b=ipAXo8/CRm2+XXY1N05SAFd91zaBONh/ajNsL0L0Rcu9qh74fkcmnrWZhuPWxVGI1p mSAlK4sese+vZ+gv9Vda/FU7+Hd9+kZUq29BflBCb2rVpJ2EbED5Jf2hqTTKSqqss44t E0x/HzgVYLj4+JGOU2HJtHLi0fjc9+UsRVJHk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=OzYxJaBa1IjQx3QTmV/ogxbAgXvIiRPXTZecF9KIkZKLJrWNCublh5G02VxHzeqTbJ av7p9U3JfrSGnXq10GN/P1xSqIJioA6rW7O0eHYeD5HFgHRPLCEG5J8Cddc8iK46kc60 /bFwLXi5JiapuUaH8N3cH9tOcAtsKXfppfZbA=
- In-reply-to: <a4d50cfe3e22421d894f024cc476be79.NginxMailingListRussian@xxxxxxxxxxxxxxx>
- References: <a4d50cfe3e22421d894f024cc476be79.NginxMailingListRussian@xxxxxxxxxxxxxxx>
> ни в доках, ни в примерах не могу найти,
> можно ли указать несколько locations
> например через запятую -
можно вынести конфигурацию локейшена в отдельный файл, и при описании
локейшена его инклюдить
location /1 { include commonConfig.conf; }
location /2 { include commonConfig.conf; }
location /3 { include commonConfig.conf; }
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|