Skip to content

Commit 17585ea

Browse files
committed
Use X-Forwarded-For
1 parent c89bdd1 commit 17585ea

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM docker.io/mediawiki:1.40
22

3+
COPY remoteip.conf /etc/apache2/mods-available/
4+
RUN a2enmod remoteip
5+
36
RUN apt-get update; \
47
apt-get install -y wget unzip libldap-dev;
58

remoteip.conf

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
RemoteIPHeader X-Forwarded-For

0 commit comments

Comments
 (0)