Browse Source

Update apache2.conf

Stefan Pejcic 1 year ago
parent
commit
5a65794be4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docker/apache/apache2.conf

+ 5 - 0
docker/apache/apache2.conf

@@ -16,6 +16,11 @@ IncludeOptional mods-enabled/*.conf
 Include ports.conf
 
 
+<IfModule mod_remoteip.c>
+    RemoteIPHeader X-Forwarded-For
+    RemoteIPTrustedProxy 172.16.0.0/12
+</IfModule>
+
 <Directory />
         Options FollowSymLinks
         AllowOverride None