Disable nginx access and error request logs.
Request lines were keeping client addresses and paths for as long as the container existed.
This commit is contained in:
@@ -63,6 +63,7 @@ RUN apk add --no-cache gettext
|
||||
|
||||
COPY --from=cms-builder /cms/dist /usr/share/nginx/html/cms
|
||||
|
||||
COPY nginx/logging.conf /etc/nginx/conf.d/logging.conf
|
||||
COPY nginx/conf.d/ /etc/nginx/templates/conf.d/
|
||||
COPY nginx/snippets/ /etc/nginx/templates/snippets/
|
||||
COPY nginx/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
access_log off;
|
||||
error_log /dev/null;
|
||||
Reference in New Issue
Block a user