simple module to uppercase/lowercase strings in the nginx config
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information. stupid commenting mistake Jun 21, 2011
config not compiling yet Jun 16, 2011
ngx_http_lower_upper_case.c fixed a segfault Jun 21, 2011

Nginx lower-/uppercase

This module simply uppercases or lowercases a string and saves it into a new variable.

It knows only two directives: upper and lower


    set $var1 "hello";
    set $var2 "WORLD";

    upper $var3 "$var1 $var2"; # $var3 will be "HELLO WORLD"
    lower $var4 "$var1 $var2"; # $var4 will be "hello world"