Displays source IPs in log when behind a reverse proxy
Project description
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.
Installation
Only install the module in the database.
Configuration
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;
Usage
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
None
Bug Tracker
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.
Credits
Contributors
Pablo Cayuela <pablo.cayuela@aserti.es>
Maintainer
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo8_addon_log_forwarded_for_ip-8.0.1.0.0.99.dev25-py2-none-any.whl
.
File metadata
- Download URL: odoo8_addon_log_forwarded_for_ip-8.0.1.0.0.99.dev25-py2-none-any.whl
- Upload date:
- Size: 91.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0bf543a1c841749d92f82f029383722debd42196519e68c0ed53c3d53742daf |
|
MD5 | 35e5acd62599964bb9d36f86a2165106 |
|
BLAKE2b-256 | 8dfc915fb531f932d7e03e2b16f4bb800f1acad22aedc9b57c9537dfde0b1560 |