We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aff35c commit 9e93f23Copy full SHA for 9e93f23
Dockerfile
@@ -94,6 +94,7 @@ RUN addgroup -S nginx \
94
&& rm -rf /tmp/* /root/.gnupg
95
96
COPY nginx.conf /etc/nginx/nginx.conf
97
+COPY log_format /etc/nginx/conf.d/log_format
98
COPY default.conf /etc/nginx/sites-enabled/default.conf
99
100
EXPOSE 80 443
log_format
nginx.conf
@@ -22,6 +22,7 @@ http {
22
include /etc/nginx/mime.types;
23
default_type application/octet-stream;
24
25
+ include /etc/nginx/conf.d/log_format;
26
access_log /var/log/nginx/access.log combined;
27
error_log /var/log/nginx/error.log crit;
28
0 commit comments