Actions
Feature #30779
closedUse ActionDispatch::RemoteIp when working as a reverse proxy
Difficulty:
Triaged:
No
Description
The ActionDispatch::RemoteIp middleware can provide the remote IP correctly as a property of the request object. It has an option to provide a list of trusted reverse proxies which needs to be exposed to the user. The installer should also expose this. It only needs to be in settings.yaml since middleware can't dynamically reload config.
This will replace the existing IpFromRequestEnv concern so it can be used application wide.
https://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman/pull/7960 added
Updated by Ewoud Kohl van Wijngaarden almost 4 years ago
- Related to Bug #32019: all requests are logged as coming from 127.0.0.1 in production.log added
Updated by Ewoud Kohl van Wijngaarden almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|8609ef84e21efb7a5a2b140d036523a7eea0ebfe.
Updated by The Foreman Bot almost 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/8405 added
Updated by Tomer Brisker over 3 years ago
- Fixed in Releases 2.3.4 added
- Fixed in Releases deleted (
2.5.0)
Actions