Files
Etienne PerotandgVisor bot 3924579214 nginx config: Remove worker_processes and events.worker_connections.
This is closer to the default nginx settings with respect to concurrency.

Turn off access log, as it is heavy on I/O and would not be used in a
production setup (whether with or without gVisor).

Update nginx to version `1.25.1`.

PiperOrigin-RevId: 551669286
2023-07-27 16:16:08 -07:00

13 lines
354 B
Docker

FROM nginx:1.25.1
# Generate a bunch of relevant files.
RUN mkdir -p /local && \
for size in 1 10 100 1024 10240; do \
dd if=/dev/zero of=/local/latin${size}k.txt count=${size} bs=1024; \
done
RUN touch /local/index.html
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./nginx_gofer.conf /etc/nginx/nginx_gofer.conf