Loading CHANGELOG.md +5 −0 Original line number Diff line number Diff line # `nginx-sidecar` changelog ## 0.3.1 - Log `$request_time`; request processing time in seconds (millisecond resolution). - Stop logging unusable information, e.g. private remote IPs, proxy path information. ## 0.3.0 - Allow `client_body_buffer_size` to be overridden. Loading VERSION +1 −1 Original line number Diff line number Diff line 0.3.0 0.3.1 nginx.conf.template +3 −3 Original line number Diff line number Diff line Loading @@ -39,9 +39,9 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '[nginx] $remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; log_format main '[nginx] path=$request ' 'status=$status duration=$request_time size=$body_bytes_sent ' '"$remote_user" "$http_referer" "$http_user_agent"'; # Log to stdout. # Use the stdout of init on Docker to get the logs to the log drain. Loading Loading
CHANGELOG.md +5 −0 Original line number Diff line number Diff line # `nginx-sidecar` changelog ## 0.3.1 - Log `$request_time`; request processing time in seconds (millisecond resolution). - Stop logging unusable information, e.g. private remote IPs, proxy path information. ## 0.3.0 - Allow `client_body_buffer_size` to be overridden. Loading
nginx.conf.template +3 −3 Original line number Diff line number Diff line Loading @@ -39,9 +39,9 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '[nginx] $remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; log_format main '[nginx] path=$request ' 'status=$status duration=$request_time size=$body_bytes_sent ' '"$remote_user" "$http_referer" "$http_user_agent"'; # Log to stdout. # Use the stdout of init on Docker to get the logs to the log drain. Loading