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 Sign up to answer
Community showcase
Posted yesterday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

33 views 0 4
Join discussion

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