Django Password Reset generating http link instead of https Django Password Reset generating http link instead of https nginx nginx

Django Password Reset generating http link instead of https


This is likely an issue with X-Forwarded-Protocol in your nginx config.

You need to add this inside your location block:

proxy_redirect off;proxy_set_header X-Forwarded-Proto $scheme;

For more info see: https://djangodeployment.com/2017/01/24/fix-djangos-https-redirects-nginx/