Sfoglia il codice sorgente

Update apache2.conf

Stefan Pejcic 1 anno fa
parent
commit
5a65794be4
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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