File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.25.4
4
+
5
+ * Add ` X-Request-Start ` header set to current time with millisecond precision.
6
+ * Update base image to ` zappi/nginx:1.25.4 ` .
7
+
3
8
## 1.25.3-1
4
9
5
10
* Add OpenTelemetry (OTel) module i.e. ` nginx-module-otel ` .
Original file line number Diff line number Diff line change 1
- FROM zappi/nginx:1.25.3 as builder
1
+ FROM zappi/nginx:1.25.4 as builder
2
2
3
3
USER root
4
4
@@ -16,9 +16,9 @@ RUN apt-get update -y && \
16
16
WORKDIR /usr/src/
17
17
18
18
# Download nginx source
19
- ARG NGINX_VERSION="1.25.3 "
19
+ ARG NGINX_VERSION="1.25.4 "
20
20
ARG NGINX_PKG="nginx-${NGINX_VERSION}.tar.gz"
21
- ARG NGINX_SHA="64c5b975ca287939e828303fa857d22f142b251f17808dfe41733512d9cded86 "
21
+ ARG NGINX_SHA="760729901acbaa517996e681ee6ea259032985e37c2768beef80df3a877deed9 "
22
22
RUN wget "http://nginx.org/download/${NGINX_PKG}" && \
23
23
echo "${NGINX_SHA} *${NGINX_PKG}" | sha256sum -c - && \
24
24
tar --no-same-owner -xzf ${NGINX_PKG} --one-top-level=nginx --strip-components=1
@@ -37,7 +37,7 @@ RUN cd nginx && \
37
37
make modules
38
38
39
39
# Production container starts here
40
- FROM zappi/nginx:1.25.3
40
+ FROM zappi/nginx:1.25.4
41
41
42
42
USER root
43
43
Original file line number Diff line number Diff line change 77
77
proxy_set_header X-Forwarded-Port $proxy_x_forwarded_port;
78
78
proxy_set_header X-Request-ID $proxy_x_request_id;
79
79
proxy_set_header X-Forwarded-Host $proxy_x_forwarded_host;
80
+ proxy_set_header X-Request-Start "t=${msec}";
80
81
81
82
# Latency headers
82
83
add_header X-Proxy-Backend-Connect-Time $upstream_connect_time;
You can’t perform that action at this time.
0 commit comments