Thanks Zap, I found that on google but looking for something native on
nginx if possible.

On Thu, Mar 26, 2015 at 4:52 PM, Zak Elep <[email protected]> wrote:

> Maybe dumb(?) way is to just force a 301 Redirect to the case-fixed
> URL (which you can do with embedded perl:)
>
>
>    location ~ [A-Z] {
>      perl 'sub { my $r = shift; $r->internal_redirect(lc($r->uri)); }';
>    }
>
>
> On Thu, Mar 26, 2015 at 12:54 PM, Mark Anthony Delfin <[email protected]>
> wrote:
> > Hi Guys,
> >
> > What will be the best way to convert the url on nginx to all lowercase
> > letters? We are using nginx+haproxy for load balancing.
> >
> > Thank you.
> >
> >
> >
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > http://lists.linux.org.ph/mailman/listinfo/plug
> > Searchable Archives: http://archives.free.net.ph
>
>
>
> --
> Zak B. Elep  ||  zakame.net
> 1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 851D
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to