help with location
rkmr.em at gmail.com
rkmr.em at gmail.com
Thu Feb 21 05:11:09 MSK 2008
i tried to write a reg-ex for location that will for work for any url
containing' upload... it is hard
how to write a regex for location for url that contains the word: upload
pl. help
thanks
On Tue, Feb 19, 2008 at 6:38 PM, Eden Li <eden at mojiti.com> wrote:
> Your answer is here: http://wiki.codemongers.com/NginxHttpCoreModule#location
>
>
>
> On Feb 20, 2008, at 9:57 AM, rkmr.em at gmail.com wrote:
>
> > i want
> > /userupload
> > /userwebupload
> > /uploadvideo
> > etc,
> > any url with 'upload' in it to get served by a specific backend, i can
> > use fastcgi_pass for the backend part.. how do i specify location for
> > this ?
> > something like this?
> > location / *upload* {
> > root /home/mark/work/pop;
> > fastcgi_pass backend_pop;
> >
> >
> > thanks a lot
> >
>
>
>
More information about the nginx
mailing list