location issue

Glen Lumanau glen at lumanau.web.id
Thu Jan 29 08:57:09 MSK 2009


Hi,

 

Is that posibble to have different root directory inside "location"?

 

For example :

    location ^~ /images {

        root            /home/test/images/stories;

    }

 

    location ^~ /thumbnails {

        root            /home/test/images/thumbnails;

    }

 

 

Or where's the error? I've tried with no luck

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090129/9b911a93/attachment.html>


More information about the nginx mailing list