location /app2 { default_type "text/plain"; content_by_lua_block { ngx.say("app2") } }