I want to http://example.com/SomeThing redirect to http://example.com/something
something is nginx location (/s
From nginx docs:
A location can either be defined by a prefix string, or by a regular expression. Regular expressions are specified with the preceding “~*” modifier (for case-insensitive matching), or the “~” modifier (for case-sensitive matching).
So ~* in location must be used for case insensitive matching.
location ~* /something/ {
# your code here
}