Skip to content

Commit 48cd222

Browse files
committed
disable access logs at mediawiki level
1 parent 5203db1 commit 48cd222

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ RUN chown www-data:www-data /var/www/html/w/images
9999

100100
# Fix permissions for cache https://github.com/MaRDI4NFDI/portal-compose/pull/563
101101
RUN chmod 777 /var/www/html/w/cache
102-
COPY mardi_php.ini /usr/local/etc/php/conf.d/mardi_php.ini
102+
COPY mardi_php.ini /usr/local/etc/php/conf.d/mardi_php.ini
103+
104+
# Disable access logs in mediawiki container
105+
COPY php-fpm-logging.conf /usr/local/etc/php-fpm.d/zz-logging.conf
103106

104107
ENV TZ=Europe/Berlin
105108
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

php-fpm-logging.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[www]
2+
; Disable access log
3+
access.log = /dev/null

0 commit comments

Comments
 (0)