File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 44
55* Use ` zappi/nginx:1.25.3 ` as the docker base image.
66* Upgrade ` headers-more-nginx-module ` to ` v0.37 ` .
7+ * Update latency headers:
8+ * Add ` X-Proxy-Request-Time ` .
9+ * Add ` X-Proxy-Backend-Response-Time ` .
10+ * Remove ` X-Proxy-Backend-Total-Time ` .
11+ * Update logging fields:
12+ * Add ` http_x_proxy_backend_response_time ` .
13+ * Remove ` http_x_proxy_backend_total_time ` .
714
815## 1.25.2-3
916
Original file line number Diff line number Diff line change 8181 # Latency headers
8282 add_header X-Proxy-Backend-Connect-Time $upstream_connect_time;
8383 add_header X-Proxy-Backend-Header-Time $upstream_header_time;
84- add_header X-Proxy-Backend-Total-Time $request_time;
84+ add_header X-Proxy-Backend-Response-Time $upstream_response_time;
85+ add_header X-Proxy-Request-Time $request_time;
8586
8687 gzip on;
8788 gzip_comp_level 5;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ log_format main_json escape=json
1515 '"http_x_forwarded_for":"$http_x_forwarded_for",'
1616 '"http_x_proxy_backend_connect_time":"$upstream_connect_time",'
1717 '"http_x_proxy_backend_header_time":"$upstream_header_time",'
18- '"http_x_proxy_backend_total_time ":"$request_time ",'
18+ '"http_x_proxy_backend_response_time ":"$upstream_response_time ",'
1919 '"proxy_connection":"$proxy_connection",'
2020 '"proxy_x_forwarded_port":"$proxy_x_forwarded_port",'
2121 '"proxy_x_forwarded_proto":"$proxy_x_forwarded_proto",'
You can’t perform that action at this time.
0 commit comments