The docs state
Mixing HTTP and HTTPS on the same site is discouraged, therefore build_absolute_uri() will always generate an absolute URI with the same scheme the current request has. If you need to redirect users to HTTPS, itβs best to let your Web server redirect all HTTP traffic to HTTPS.
I have a https-only app behind nginx which converts all http requests to https. I get an incoming https call, but when I run request.build_absolute_uri()
it gives me the request with a http and not https (so not the same scheme).
What is going wrong? Is there a setting I should add/change?