I need to translate the address:
www.example.com/TEST in ---> www.example.com/test
i managed to achieve the goal using embedded perl:
location ~ [A-Z] { perl 'sub { my $r = shift; $r->internal_redirect(lc($r->uri)); }'; }