Actions
Defect #11277
closedProduction log not recording "Real IP" when passed X_Real_IP and/or X-Forwarded-For Header
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
When Redmine 2.0.3 (r9873) is setup behind a reverse proxy the recorded IP address in the logs is that of the proxy regardless of originating request:
Started GET "/" for 127.0.0.1 at 2012-06-26 12:47:30 -0400
Processing by WelcomeController#index as HTML
Rendered welcome/index.html.erb within layouts/base (9.9ms)
Completed 200 OK in 71ms (Views: 45.0ms | ActiveRecord: 11.2ms)
Setup:
Ruby 1.9.3
Redmine 2.0.3
Unicorn 4.3.1 - Unicorn configuration attached
Nginx 1.0.11 - nginx.conf attached
Setup above properly records "Real IP" in logs with Redmine 1.4.4 (r9893)
Files
Actions