catalina access log cintains wrong IP adresses (localhost)

Tony Montana
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 23, 2023

Hi. Catalina access log cintains wrong IP adresses (localhost) with nginx reverse proxy. How to fix it?   After update from 8.6.0, before was correct.

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2023

Hi Tony,

The point of a proxy is that it is a relay, it's taking data from a remote address and passing it on to another place.  In the case of Jira running behind a proxy, it is relaying all the data from all your remote users to the Jira server.

So as far as Tomcat is concerned, all the connections are coming from the proxy server.

To get logging of the remote address, you need to configure the proxy to pass it on to the Jira service, and configure Tomcat to read it and log it.

When you run an upgrade of Jira, almost all of your installation files are replaced with default ones, including the Tomcat configuration.  So the changes you made to the Tomcat that was running yout 8.6 Jira have been lost.  You'll need to re-implement them in the upgraded version (I'm assuming you have not changed any Nginx settings during the upgrade, as it's not part of Jira and there's no need to change the proxy settings when upgrading Jira, unless you're upgrading from Jira 2 to 3 or higher)

Like David Bakkers likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events