JIRA HTTP Access Logging when using proxy

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
David Currie Atlassian Team Aug 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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

531 views 2 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot