Displays source IPs in log when behind a reverse proxy
Forwarded-for IPs in log
This module makes werkzeug messages in the log show the IP the requests come from instead of the reverse proxy one.
Only install the module in the database.
You should be running Odoo with –proxy-mode or proxy_mode = True in your configuration file and have your reverse proxy set the XFF header.
This can be achieved with nginx adding the following in your site configuration:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
If everything is well configured, you will see the IPs the requests come from in the log instead of the proxy one.
Known issues / Roadmap
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.
- Pablo Cayuela <email@example.com>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size odoo8_addon_log_forwarded_for_ip-184.108.40.206.0.99.dev24-py2-none-any.whl (93.4 kB)||File type Wheel||Python version py2||Upload date||Hashes View|
Hashes for odoo8_addon_log_forwarded_for_ip-220.127.116.11.0.99.dev24-py2-none-any.whl