nginx - debug log level

This commit is contained in:
Mike Holloway 2025-12-07 22:40:34 -05:00
parent 884d325009
commit a161b2d63e

View File

@ -1,4 +1,4 @@
FROM nginx:latest FROM nginx:latest
RUN sed -i 's/\#gzip.*on;/server_tokens\toff;\n #gzip\ton;/' /etc/nginx/nginx.conf RUN sed -i 's/\#gzip.*on;/server_tokens\toff;\n #gzip\ton;/' /etc/nginx/nginx.conf
RUN sed -i 's/^error_log.*;/error_log\t/var/log/nginx/error.log debug;/' /etc/nginx/nginx.conf RUN sed -i 's/^error_log.*;/error_log\t\/var\/log\/nginx\/error.log debug;/' /etc/nginx/nginx.conf