Replies: 1 comment
-
Thanks I've pitched this over to a discussion, until we've figured if there's an issue here. Can you start with some debugging here?...
path = django.urls.reverse(...)
url = request.build_absolute_uri(path) You probably want to start your debugging with a view that does the above and figure out if there's some mis-configuration taking place. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using django behind docker proxy and after that with nginx reverse proxy (serves as http). Docker proxy wrapping around nginx for https. The issue when I set SECURE_PROXY_SSL_HEADER like below, I am retrieving HyperlinkedModelSerializer url field as http instead of https. In my opinion, expected behaviour should be returning https and respecting that django setting.
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
Checklist
Beta Was this translation helpful? Give feedback.
All reactions