perl_require ngx_env.pm; server { listen 8080; location / { return 204; } location = /env { perl ngx_env::report; } }