Add support for X-Forwarded-Host

This commit is contained in:
Raphael Michel
2023-02-24 10:28:22 +01:00
parent 79c7b53efa
commit 6a8ebcca1a
2 changed files with 7 additions and 0 deletions

View File

@@ -106,6 +106,11 @@ Example::
proxy that actively removes and re-adds the header to make sure the correct value is set.
Defaults to ``off``.
``trust_x_forwarded_host``
Specifies whether the ``X-Forwarded-Host`` header can be trusted. Only set to ``on`` if you have a reverse
proxy that actively removes and re-adds the header to make sure the correct value is set.
Defaults to ``off``.
``csp_log``
Log violations of the Content Security Policy (CSP). Defaults to ``on``.