mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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
13 lines
354 B
Docker
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
|