Reverse Proxy

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

  1. ferra

    ferra New 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.

    Thanks

    José
     
  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 / http://xxx.xxx.xxx.xxx/
    ProxyPassReverse / http://xxx.xxx.xxx.xxx/
    <Location />
    Order deny,allow
    Allow from all
    </Location>
     
  3. ferra

    ferra New 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