cesium-ml / baselayer

Fully customizable (scientific, compute-intensive) web application template
http://cesium-ml.org/baselayer/
30 stars 18 forks source link

Add request_length to nginx log #341

Closed mcoughlin closed 1 year ago

mcoughlin commented 1 year ago

This PR adds request_length to nginx log, which should allow us to track query sizes by IP. See e.g. https://www.ruby-forum.com/t/logging-variables-bytes-sent-where-is-bytes-read/241597/8.

stefanv commented 1 year ago

Let's add something like "rl=" to the line to distinguish this field from the one next to it? Otherwise lgtm.

mcoughlin commented 1 year ago

@stefanv Done!