We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8ff770 commit b3b920dCopy full SHA for b3b920d
apache/Dockerfile
@@ -17,6 +17,9 @@ RUN sed -i \
17
# Use real client IP in logs (from X-Forwarded-For)
18
RUN sed -i 's/%h/%a/g' /usr/local/apache2/conf/httpd.conf
19
20
+# Switch logging to combined (Adds User-Agent and Referer)
21
+RUN sed -i 's/CustomLog \/proc\/self\/fd\/1 common/CustomLog \/proc\/self\/fd\/1 combined/' /usr/local/apache2/conf/httpd.conf
22
+
23
RUN echo "Include conf/extra/remoteip.conf" >> /usr/local/apache2/conf/httpd.conf
24
RUN echo "Include conf/extra/mediawiki.conf" >> /usr/local/apache2/conf/httpd.conf
25
0 commit comments