Skip to content

Commit 54dd922

Browse files
author
Bokan Mohammad Assad
committed
docs: added tiny info for usage behind reverse proxy
1 parent 1ddd9c8 commit 54dd922

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.rst

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ then, add the app to `settings.py`:
2424
2525
configure aetos in `settings.py`:
2626

27+
> ℹ️ **Important**: When using `django-aetos` in a project behind a reverse proxy, include [`django-xff`](https://pypi.org/project/django-xff/) in your project, so that a request's `REMOTE_ADDR` header gets rewritten to the correct client ip.
28+
2729
.. code-block:: python
2830
2931
# on enabled ip allowlist with empty list, requests are denied

0 commit comments

Comments
 (0)