Skip to content
simple module to uppercase/lowercase strings in the nginx config
Find file
Latest commit 44958e0 @replay fixed a segfault
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.