A little syntax help, please

John Moore grails at jmsd.co.uk
Fri Nov 21 22:04:45 MSK 2008


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;
        }






More information about the nginx mailing list