server { listen 8080; location / { return 204; } js_import ngx_env.js; location = /env { js_content ngx_env.report; } }