De Wiki inetshell
Saltar a: navegación, buscar

Obtener IP de cliente detras de un Proxy[editar]

https://forums.rancher.com/t/rancher-load-balancer-x-forwarded/7138/8

RemoteIPHeader X-Forwarded-For
RemoteIPInternalProxy 10.0.0.0/8

LoadModule remoteip_module modules/mod_remoteip.so

<IfModule log_config_module>
    LogFormat "%v:%p %a %l %u %t \"%r\" %>s %b" common
    CustomLog /proc/self/fd/1 common
</IfModule>