Adding nginx_substitutions_filter http://wiki.nginx.org/HttpSubsModule