Reverse Proxy

Discussion in 'Installation/Configuration' started by ferra, Mar 19, 2018.

  1. ferra

    ferra Member

    I have ispconfig3 behind a reverse proxy. How can I get the real IP in /var/log/ispconfig/auth.log ?
    The log only shows the reverse proxy IP Address.


  2. Ghostdare

    Ghostdare Member

    In your reverse proxy server, and depends if it is behind nginx or Apache, you must apply the appropriate directive to preserve. In nginx, no clue about the configuration, but in Apache is something like this
    ProxyPreserveHost On
    ProxyPass /
    ProxyPassReverse /
    <Location />
    Order deny,allow
    Allow from all
  3. ferra

    ferra Member

    Ok, thanks. And on Ispconfig is there any necessary configuration to accept the reverse proxy ?
  4. Ghostdare

    Ghostdare Member

    No config necessary.

Share This Page