2
1
Fork 0
mirror of https://github.com/friendica/docker synced 2026-04-16 15:27:45 +02:00

Fix display of remote ip in php log

This commit is contained in:
ne20002 2025-02-10 18:21:52 +00:00
commit 1cc0200de5
No known key found for this signature in database
GPG key ID: 429E95F6E49B54C8
10 changed files with 24 additions and 12 deletions

View file

@ -158,7 +158,8 @@ RUN set -ex; \
RUN set -ex; \
a2enmod rewrite remoteip; \
{ \
echo RemoteIPHeader X-Real-IP; \
echo RemoteIPHeader X-Forwarded-For; \
echo RemoteIPTrustedProxy 127.0.0.0/8; \
echo RemoteIPTrustedProxy 10.0.0.0/8; \
echo RemoteIPTrustedProxy 172.16.0.0/12; \
echo RemoteIPTrustedProxy 192.168.0.0/16; \