Skip to content

Commit

Permalink
📝 document USE_X_FORWARDED_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed Mar 1, 2024
1 parent e490e85 commit 525c661
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/installation/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ Other settings
* ``TWO_FACTOR_PATCH_ADMIN``: Whether to use the 2 Factor Authentication login flow for
the admin or not. Default ``True``. You'll probably want to disable this when using OIDC.

* ``USE_X_FORWARDED_HOST``: whether to grab the domain/host from the ``X-Forwarded-Host``
header or not. This header is typically set by reverse proxies (such as nginx,
traefik, Apache...). Default ``False`` - this is a header that can be spoofed and you
need to ensure you control it before enabling this.

Initial superuser creation
--------------------------

Expand Down

0 comments on commit 525c661

Please sign in to comment.