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 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

72 views 0 5
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