Skip to content

Commit

Permalink
enabled remoteip mod for Apache to be able to log the remote ip addre…
Browse files Browse the repository at this point in the history
…ss if running behind a proxy
  • Loading branch information
melle2 committed Feb 3, 2024
1 parent 272944c commit fefbf5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit fefbf5c

Please sign in to comment.