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 11# Changelog
22
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+
38## 1.25.3-1
49
510* 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
22
33USER root
44
@@ -16,9 +16,9 @@ RUN apt-get update -y && \
1616WORKDIR /usr/src/
1717
1818# Download nginx source
19- ARG NGINX_VERSION="1.25.3 "
19+ ARG NGINX_VERSION="1.25.4 "
2020ARG NGINX_PKG="nginx-${NGINX_VERSION}.tar.gz"
21- ARG NGINX_SHA="64c5b975ca287939e828303fa857d22f142b251f17808dfe41733512d9cded86 "
21+ ARG NGINX_SHA="760729901acbaa517996e681ee6ea259032985e37c2768beef80df3a877deed9 "
2222RUN wget "http://nginx.org/download/${NGINX_PKG}" && \
2323 echo "${NGINX_SHA} *${NGINX_PKG}" | sha256sum -c - && \
2424 tar --no-same-owner -xzf ${NGINX_PKG} --one-top-level=nginx --strip-components=1
@@ -37,7 +37,7 @@ RUN cd nginx && \
3737 make modules
3838
3939# Production container starts here
40- FROM zappi/nginx:1.25.3
40+ FROM zappi/nginx:1.25.4
4141
4242USER root
4343
Original file line number Diff line number Diff line change 7777 proxy_set_header X-Forwarded-Port $proxy_x_forwarded_port;
7878 proxy_set_header X-Request-ID $proxy_x_request_id;
7979 proxy_set_header X-Forwarded-Host $proxy_x_forwarded_host;
80+ proxy_set_header X-Request-Start "t=${msec}";
8081
8182 # Latency headers
8283 add_header X-Proxy-Backend-Connect-Time $upstream_connect_time;
You can’t perform that action at this time.
0 commit comments