From fefbf5c023ae62f395a383606788754adaf62fbe Mon Sep 17 00:00:00 2001 From: Melle <71716485+melle2@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:30:59 +0100 Subject: [PATCH] enabled remoteip mod for Apache to be able to log the remote ip address if running behind a proxy --- apache/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/apache/Dockerfile b/apache/Dockerfile index 66a92621..573fa0c9 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -127,6 +127,7 @@ RUN set -ex; \ sed -i "s@'configFile' => .*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" /var/www/html/libraries/vendor_config.php; \ grep -q -F "'configFile' => '/etc/phpmyadmin/config.inc.php'," /var/www/html/libraries/vendor_config.php; \ php -l /var/www/html/libraries/vendor_config.php; \ + a2enmod remoteip; \ \ apt-mark auto '.*' > /dev/null; \ apt-mark manual $savedAptMark; \