A little syntax help, please

John Moore grails at jmsd.co.uk
Sat Nov 22 17:16:59 MSK 2008

John Moore wrote:
> Hmm, that was actually my attempt at using a regex location. I amended 
> it to the following, still without luck:
>     location ~/(somePage|anotherPage|yetAnotherPage).htm)${
>           include /etc/nginx/admin.conf;
>       }
> I'm hoping someone can point out the error of my ways.
Well, as ever the problem was simpler than I thought, and I was looking 
in the wrong place. I had an extra closing parenthesis on the end. 
Removing that sorted my problem.

More information about the nginx mailing list