* cc: Florian Apolloner (added)
* status: new => closed
* resolution: => wontfix
* easy: 1 => 0
Comment:
Replying to [ticket:34855 jeroenmuller]:
> It might be useful to add a note or warning below
https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-
CSRF_TRUSTED_ORIGINS explaining that it should only be neccessary to
configure this if you are actually making requests across subdomains, and
in other cases setting up SECURE_PROXY_SSL_HEADER might be a more
appropriate solution (as long as the proxy correctly sets a header like X
-Forwarded-Proto).
Using `SECURE_PROXY_SSL_HEADER` must be an informed decision as it may
cause security issues. This is not something we would freely document as a
default solution, especially, since it's only a solution for this
particular setup where you have a trusted proxy that changes the protocol.
I'm skeptical, we cannot document all setting configurations.
--
Ticket URL: <https://code.djangoproject.com/ticket/34855#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.