Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simple module to uppercase/lowercase strings in the nginx config
branch: master
Failed to load latest commit information. stupid commenting mistake
config not compiling yet
ngx_http_lower_upper_case.c fixed a segfault

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"
Something went wrong with that request. Please try again.