I'm running nginx 1.11.9, and I get an error any time I try to use bytes_sent, upstream_bytes_sent, or upstream_bytes_received. I've tried logging directly in a log format, or using in a map:
<in http context>
map $request_method $chad_sent {
default $upstream_bytes_sent;
}
map $request_method $chad_received {
default $upstream_bytes_received;
}
This results in:
me@here:~/Downloads$ sudo service nginx restart
* Restarting nginx nginx
nginx: [emerg] unknown "upstream_bytes_sent" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
It's unclear to me if there's something wrong with my build, or if I have
to use a stream context, or some other issue.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
