4 messages in ru.sysoev.nginxRe: A little syntax help, please
FromSent OnAttachments
John MooreNov 21, 2008 11:04 am 
Almir KaricNov 21, 2008 11:50 am 
John MooreNov 22, 2008 5:52 am 
John MooreNov 22, 2008 6:16 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: A little syntax help, pleaseActions...
From:Almir Karic (alm@kiberpipa.org)
Date:Nov 21, 2008 11:50:10 am
List:ru.sysoev.nginx

what you want are regex locations, see http://wiki.codemongers.com/NginxHttpCoreModule#location

On Fri, Nov 21, 2008 at 07:04:45PM +0000, John Moore wrote:

Can someone point out to me, please, how I can group a bunch of pages in a location block, so they all get the same treatment? Let's say I have '/somePage.htm', '/anotherPage.htm', and '/yetAnotherPage.htm'. I thought the following would work, but it doesn't. Am I close? TIA

location /(somePage|anotherPage|yetAnotherPage).htm) { include /etc/nginx/admin.conf; }