JIRA HTTP Access Logging when using proxy

Dmitri Abrosov [Teamlead] August 15, 2016

When integrating JIRA with Apache proxy if I switch on HTTP Access Logging in JIRA it shows proxy IP instead of real user IP. Is it possible to show there real user IP? Otherwise this log is useless.

1 answer

0 votes
Dave C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2016

Yep, it is, this is caused by Apache and can be fixed with the below:

  1. Enable the mod_remoteip module.
  2. Add the below to the appropriate virtual host:

    RemoteIPHeader X-Forwarded-For
  3. Restart / Reload Apache.

Then you'll get multiple IPs as per https://confluence.atlassian.com/display/JIRAKB/How+to+identify+multiple+IPs+in+JIRA+application+logs - one for the proxy IP and another for the actual origin IP.

Suggest an answer

Log in or Sign up to answer